diff --git a/app/views/brexit_checker/_question_single_choice.html.erb b/app/views/brexit_checker/_question_single_choice.html.erb index e763f7b39..bbab6a472 100644 --- a/app/views/brexit_checker/_question_single_choice.html.erb +++ b/app/views/brexit_checker/_question_single_choice.html.erb @@ -4,6 +4,7 @@ heading: current_question.text, description: formatted_description, hint: current_question.hint_text, - is_page_heading: true, + heading_level: 1, + heading_size: 'xl', items: format_question_options(current_question.options(criteria_keys), criteria_keys) } %> diff --git a/app/views/brexit_checker/_question_single_wrapped.html.erb b/app/views/brexit_checker/_question_single_wrapped.html.erb index f8fc87283..ccc6cca5a 100644 --- a/app/views/brexit_checker/_question_single_wrapped.html.erb +++ b/app/views/brexit_checker/_question_single_wrapped.html.erb @@ -5,7 +5,8 @@ heading_caption: current_question.caption, description: formatted_description, hint: current_question.hint_text, - is_page_heading: true, + heading_level: 1, + heading_size: 'xl', items: current_question.options.map do |option| checkboxes = if option.sub_options.present? render "govuk_publishing_components/components/checkboxes", {