From 9bec575def7f39a7f9d8ba1691379904b9207ae4 Mon Sep 17 00:00:00 2001 From: Sonia Hussain Date: Thu, 20 Jun 2024 12:36:16 +0100 Subject: [PATCH] Fix: improve 'Skip to contents' link text The 'Skip to contents of guide' was confusing to screen reader users as there is a 'Contents' section describing the contents of the document. Users mistook the link to be 'Contents' section rather than the doc contents. Note that only the English locale file has been updated. --- app/views/content_items/guide.html.erb | 2 +- config/locales/ar.yml | 2 +- config/locales/az.yml | 2 +- config/locales/be.yml | 2 +- config/locales/bg.yml | 2 +- config/locales/bn.yml | 2 +- config/locales/cs.yml | 2 +- config/locales/cy.yml | 2 +- config/locales/da.yml | 2 +- config/locales/de.yml | 2 +- config/locales/dr.yml | 2 +- config/locales/el.yml | 2 +- config/locales/en.yml | 2 +- config/locales/es-419.yml | 2 +- config/locales/es.yml | 2 +- config/locales/et.yml | 2 +- config/locales/fa.yml | 2 +- config/locales/fi.yml | 2 +- config/locales/fr.yml | 2 +- config/locales/gd.yml | 2 +- config/locales/gu.yml | 2 +- config/locales/he.yml | 2 +- config/locales/hi.yml | 2 +- config/locales/hr.yml | 2 +- config/locales/hu.yml | 2 +- config/locales/hy.yml | 2 +- config/locales/id.yml | 2 +- config/locales/is.yml | 2 +- config/locales/it.yml | 2 +- config/locales/ja.yml | 2 +- config/locales/ka.yml | 2 +- config/locales/kk.yml | 2 +- config/locales/ko.yml | 2 +- config/locales/lt.yml | 2 +- config/locales/lv.yml | 2 +- config/locales/ms.yml | 2 +- config/locales/mt.yml | 2 +- config/locales/ne.yml | 2 +- config/locales/nl.yml | 2 +- config/locales/no.yml | 2 +- config/locales/pa-pk.yml | 2 +- config/locales/pa.yml | 2 +- config/locales/pl.yml | 2 +- config/locales/ps.yml | 2 +- config/locales/pt.yml | 2 +- config/locales/ro.yml | 2 +- config/locales/ru.yml | 2 +- config/locales/si.yml | 2 +- config/locales/sk.yml | 2 +- config/locales/sl.yml | 2 +- config/locales/so.yml | 2 +- config/locales/sq.yml | 2 +- config/locales/sr.yml | 2 +- config/locales/sv.yml | 2 +- config/locales/sw.yml | 2 +- config/locales/ta.yml | 2 +- config/locales/th.yml | 2 +- config/locales/tk.yml | 2 +- config/locales/tr.yml | 2 +- config/locales/uk.yml | 2 +- config/locales/ur.yml | 2 +- config/locales/uz.yml | 2 +- config/locales/vi.yml | 2 +- config/locales/yi.yml | 2 +- config/locales/zh-hk.yml | 2 +- config/locales/zh-tw.yml | 2 +- config/locales/zh.yml | 2 +- 67 files changed, 67 insertions(+), 67 deletions(-) diff --git a/app/views/content_items/guide.html.erb b/app/views/content_items/guide.html.erb index f50579589..ec0cc7734 100644 --- a/app/views/content_items/guide.html.erb +++ b/app/views/content_items/guide.html.erb @@ -46,7 +46,7 @@ <% if @content_item.show_guide_navigation? %> <%= render "govuk_publishing_components/components/skip_link", { - text: t("guide.skip_to_contents"), + text: t("guide.skip_contents"), href: "#guide-contents" } %>