diff --git a/app/views/content_items/guide.html.erb b/app/views/content_items/guide.html.erb index aeabf3575..d77d2a59a 100644 --- a/app/views/content_items/guide.html.erb +++ b/app/views/content_items/guide.html.erb @@ -47,7 +47,7 @@ href: "#guide-contents" } %> <% end %> diff --git a/app/views/content_items/guide_single.html.erb b/app/views/content_items/guide_single.html.erb index 1ba405bde..c6fef896d 100644 --- a/app/views/content_items/guide_single.html.erb +++ b/app/views/content_items/guide_single.html.erb @@ -20,7 +20,7 @@ <% if @content_item.show_guide_navigation? %> <% end %> diff --git a/app/views/content_items/manual_section.html.erb b/app/views/content_items/manual_section.html.erb index be80f8e1b..d3e6025cf 100644 --- a/app/views/content_items/manual_section.html.erb +++ b/app/views/content_items/manual_section.html.erb @@ -4,7 +4,7 @@ } %> <%= render "govuk_publishing_components/components/contents_list", { - aria_label: t("manuals.pages_in_manual_section"), contents: @content_item.contents, underline_links: true + aria: { label: t("manuals.pages_in_manual_section") }, contents: @content_item.contents, underline_links: true } %>
diff --git a/app/views/content_items/travel_advice.html.erb b/app/views/content_items/travel_advice.html.erb index bef893e81..f6361e135 100644 --- a/app/views/content_items/travel_advice.html.erb +++ b/app/views/content_items/travel_advice.html.erb @@ -16,7 +16,7 @@ <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>