From 5756df009881ba76073303e85b726cdafc3d9fbe Mon Sep 17 00:00:00 2001 From: Hanna Laakso Date: Thu, 27 Jul 2023 17:12:14 +0100 Subject: [PATCH 1/3] WIP: Add an aria-label to email sign up links --- app/views/taxons/_common.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/taxons/_common.html.erb b/app/views/taxons/_common.html.erb index 19e3b4992..6a6900646 100644 --- a/app/views/taxons/_common.html.erb +++ b/app/views/taxons/_common.html.erb @@ -23,6 +23,7 @@ <%= render "govuk_publishing_components/components/signup_link", { link_text: t("shared.get_emails"), link_href: "/email-signup/?link=#{presented_taxon.base_path}", + link_aria_label: 'Sign up for email notifications about corporate information', data: { "module": "gem-track-click", "track-category": "emailAlertLinkClicked", From f6dc001884ba539c93cd64e240f59d89af51148e Mon Sep 17 00:00:00 2001 From: Hanna Laakso Date: Tue, 8 Aug 2023 17:21:46 +0100 Subject: [PATCH 2/3] Add vis hidden email signup text and translations --- config/locales/ar/shared.yml | 1 + config/locales/az/shared.yml | 1 + config/locales/be/shared.yml | 1 + config/locales/bg/shared.yml | 1 + config/locales/bn/shared.yml | 1 + config/locales/cs/shared.yml | 1 + config/locales/cy/shared.yml | 1 + config/locales/da/shared.yml | 1 + config/locales/de/shared.yml | 1 + config/locales/dr/shared.yml | 1 + config/locales/el/shared.yml | 1 + config/locales/en/shared.yml | 1 + config/locales/es-419/shared.yml | 1 + config/locales/es/shared.yml | 1 + config/locales/et/shared.yml | 1 + config/locales/fa/shared.yml | 1 + config/locales/fi/shared.yml | 1 + config/locales/fr/shared.yml | 1 + config/locales/gd/shared.yml | 1 + config/locales/gu/shared.yml | 1 + config/locales/he/shared.yml | 1 + config/locales/hi/shared.yml | 1 + config/locales/hr/shared.yml | 1 + config/locales/hu/shared.yml | 1 + config/locales/hy/shared.yml | 1 + config/locales/id/shared.yml | 1 + config/locales/is/shared.yml | 1 + config/locales/it/shared.yml | 1 + config/locales/ja/shared.yml | 1 + config/locales/ka/shared.yml | 1 + config/locales/kk/shared.yml | 1 + config/locales/ko/shared.yml | 1 + config/locales/lt/shared.yml | 1 + config/locales/lv/shared.yml | 1 + config/locales/ms/shared.yml | 1 + config/locales/mt/shared.yml | 1 + config/locales/ne/shared.yml | 1 + config/locales/nl/shared.yml | 1 + config/locales/no/shared.yml | 1 + config/locales/pa-pk/shared.yml | 1 + config/locales/pa/shared.yml | 1 + config/locales/pl/shared.yml | 1 + config/locales/ps/shared.yml | 1 + config/locales/pt/shared.yml | 1 + config/locales/ro/shared.yml | 1 + config/locales/ru/shared.yml | 1 + config/locales/si/shared.yml | 1 + config/locales/sk/shared.yml | 1 + config/locales/sl/shared.yml | 1 + config/locales/so/shared.yml | 1 + config/locales/sq/shared.yml | 1 + config/locales/sr/shared.yml | 1 + config/locales/sv/shared.yml | 1 + config/locales/sw/shared.yml | 1 + config/locales/ta/shared.yml | 1 + config/locales/th/shared.yml | 1 + config/locales/tk/shared.yml | 1 + config/locales/tr/shared.yml | 1 + config/locales/uk/shared.yml | 1 + config/locales/ur/shared.yml | 1 + config/locales/uz/shared.yml | 1 + config/locales/vi/shared.yml | 1 + config/locales/yi/shared.yml | 1 + config/locales/zh-hk/shared.yml | 1 + config/locales/zh-tw/shared.yml | 1 + config/locales/zh/shared.yml | 1 + 66 files changed, 66 insertions(+) diff --git a/config/locales/ar/shared.yml b/config/locales/ar/shared.yml index 135717e11..991686f5b 100644 --- a/config/locales/ar/shared.yml +++ b/config/locales/ar/shared.yml @@ -757,3 +757,4 @@ ar: zero: topics: title: "%{title}: معلومات تفصيلية" + visually_hidden_get_emails: diff --git a/config/locales/az/shared.yml b/config/locales/az/shared.yml index 58fdc475a..391907177 100644 --- a/config/locales/az/shared.yml +++ b/config/locales/az/shared.yml @@ -333,3 +333,4 @@ az: other: Parlamentə yazılı müraciətlər topics: title: "%{title}: ətraflı məlumat" + visually_hidden_get_emails: diff --git a/config/locales/be/shared.yml b/config/locales/be/shared.yml index 298ba4e32..06f5eaab2 100644 --- a/config/locales/be/shared.yml +++ b/config/locales/be/shared.yml @@ -545,3 +545,4 @@ be: other: Пісьмовыя заявы ў парламенце topics: title: "%{title}: дэталёвая інфармацыя" + visually_hidden_get_emails: diff --git a/config/locales/bg/shared.yml b/config/locales/bg/shared.yml index 0e3b1b6f6..8053f88fc 100644 --- a/config/locales/bg/shared.yml +++ b/config/locales/bg/shared.yml @@ -333,3 +333,4 @@ bg: other: Писмени изявления в Парламента topics: title: "%{title}: подробна информация" + visually_hidden_get_emails: diff --git a/config/locales/bn/shared.yml b/config/locales/bn/shared.yml index ac2b0a43e..14fcb3034 100644 --- a/config/locales/bn/shared.yml +++ b/config/locales/bn/shared.yml @@ -333,3 +333,4 @@ bn: other: সংসদে লিখিত বিবৃতিসমূহ topics: title: "%{title}: বিস্তারিত তথ্য" + visually_hidden_get_emails: diff --git a/config/locales/cs/shared.yml b/config/locales/cs/shared.yml index 2f8dae4cb..eb138948c 100644 --- a/config/locales/cs/shared.yml +++ b/config/locales/cs/shared.yml @@ -439,3 +439,4 @@ cs: other: Písemná prohlášení pro Parlament topics: title: "%{title}: podrobné informace" + visually_hidden_get_emails: diff --git a/config/locales/cy/shared.yml b/config/locales/cy/shared.yml index cb41413e3..f2b431231 100644 --- a/config/locales/cy/shared.yml +++ b/config/locales/cy/shared.yml @@ -757,3 +757,4 @@ cy: zero: topics: title: "%{title}: gwybodaeth fanwl" + visually_hidden_get_emails: diff --git a/config/locales/da/shared.yml b/config/locales/da/shared.yml index 56a0da163..92e46136f 100644 --- a/config/locales/da/shared.yml +++ b/config/locales/da/shared.yml @@ -345,3 +345,4 @@ da: other: Mundtlige erklæring til Parlamentet topics: title: "%{title}: detaljerede oplysninger" + visually_hidden_get_emails: diff --git a/config/locales/de/shared.yml b/config/locales/de/shared.yml index 796429876..fafa6deb0 100644 --- a/config/locales/de/shared.yml +++ b/config/locales/de/shared.yml @@ -333,3 +333,4 @@ de: other: Schriftliche Erklärungen vor dem Parlament topics: title: "%{title}: ausführliche Informationen" + visually_hidden_get_emails: diff --git a/config/locales/dr/shared.yml b/config/locales/dr/shared.yml index 5643ee48b..858e1064d 100644 --- a/config/locales/dr/shared.yml +++ b/config/locales/dr/shared.yml @@ -333,3 +333,4 @@ dr: other: بیانیه هایی کتبی به پارلمان topics: title: "%{title}: معلومات مفصل" + visually_hidden_get_emails: diff --git a/config/locales/el/shared.yml b/config/locales/el/shared.yml index b2721f13f..61f5ec135 100644 --- a/config/locales/el/shared.yml +++ b/config/locales/el/shared.yml @@ -333,3 +333,4 @@ el: other: Γραπτές δηλώσεις στη Βουλή topics: title: "%{title}: αναλυτικές πληροφορίες" + visually_hidden_get_emails: diff --git a/config/locales/en/shared.yml b/config/locales/en/shared.yml index f5277c4ea..b232318d2 100644 --- a/config/locales/en/shared.yml +++ b/config/locales/en/shared.yml @@ -7,6 +7,7 @@ en: title: Browse GOV.UK featured: Featured get_emails: Get emails for this topic + visually_hidden_get_emails: 'Get emails about the topic: %{topic}' language_direction: ltr language_name: English schema_name: diff --git a/config/locales/es-419/shared.yml b/config/locales/es-419/shared.yml index 58c1066da..d47a7db0c 100644 --- a/config/locales/es-419/shared.yml +++ b/config/locales/es-419/shared.yml @@ -333,3 +333,4 @@ es-419: other: Declaraciones escritas ante el Parlamento topics: title: "%{title}: información detallada" + visually_hidden_get_emails: diff --git a/config/locales/es/shared.yml b/config/locales/es/shared.yml index ba6d7a571..e1022cdc3 100644 --- a/config/locales/es/shared.yml +++ b/config/locales/es/shared.yml @@ -333,3 +333,4 @@ es: other: Declaraciones escritas topics: title: "%{title}: información detallada" + visually_hidden_get_emails: diff --git a/config/locales/et/shared.yml b/config/locales/et/shared.yml index 16eea291b..3b61b46e1 100644 --- a/config/locales/et/shared.yml +++ b/config/locales/et/shared.yml @@ -333,3 +333,4 @@ et: other: Kirjalikud avaldused parlamendile topics: title: "%{title}: üksikasjalik teave" + visually_hidden_get_emails: diff --git a/config/locales/fa/shared.yml b/config/locales/fa/shared.yml index 7c26c6528..23c2dbd6f 100644 --- a/config/locales/fa/shared.yml +++ b/config/locales/fa/shared.yml @@ -333,3 +333,4 @@ fa: other: بیانیه‌های کتبی به پارلمان topics: title: "%{title}: اطلاعات جزئی" + visually_hidden_get_emails: diff --git a/config/locales/fi/shared.yml b/config/locales/fi/shared.yml index 0220823b0..df20e65db 100644 --- a/config/locales/fi/shared.yml +++ b/config/locales/fi/shared.yml @@ -333,3 +333,4 @@ fi: other: Kirjallinen lausumat parlamentille topics: title: "%{title}: yksityiskohtaisia tietoja" + visually_hidden_get_emails: diff --git a/config/locales/fr/shared.yml b/config/locales/fr/shared.yml index 73299bec2..6492a760d 100644 --- a/config/locales/fr/shared.yml +++ b/config/locales/fr/shared.yml @@ -333,3 +333,4 @@ fr: other: Déclarations écrites au Parlement topics: title: "%{title}: informations détaillées" + visually_hidden_get_emails: diff --git a/config/locales/gd/shared.yml b/config/locales/gd/shared.yml index d48ab204b..ad1e3d4d5 100644 --- a/config/locales/gd/shared.yml +++ b/config/locales/gd/shared.yml @@ -545,3 +545,4 @@ gd: two: topics: title: "%{title}: faisnéis mhionsonraithe" + visually_hidden_get_emails: diff --git a/config/locales/gu/shared.yml b/config/locales/gu/shared.yml index f210fc277..1702878a0 100644 --- a/config/locales/gu/shared.yml +++ b/config/locales/gu/shared.yml @@ -333,3 +333,4 @@ gu: other: સંસદમાં લેખિત નિવેદનો topics: title: "%{title}: વિગતવાર માહિતી" + visually_hidden_get_emails: diff --git a/config/locales/he/shared.yml b/config/locales/he/shared.yml index 3420afa34..3967662a2 100644 --- a/config/locales/he/shared.yml +++ b/config/locales/he/shared.yml @@ -333,3 +333,4 @@ he: other: הצהרות בכתב לפרלמנט topics: title: "%{title}: מידע מפורט" + visually_hidden_get_emails: diff --git a/config/locales/hi/shared.yml b/config/locales/hi/shared.yml index a73c1cf7b..e9a419101 100644 --- a/config/locales/hi/shared.yml +++ b/config/locales/hi/shared.yml @@ -333,3 +333,4 @@ hi: other: संसद में लिखित बयान topics: title: "%{title}: विस्तृत जानकारी" + visually_hidden_get_emails: diff --git a/config/locales/hr/shared.yml b/config/locales/hr/shared.yml index 638a9917b..8a53313d7 100644 --- a/config/locales/hr/shared.yml +++ b/config/locales/hr/shared.yml @@ -545,3 +545,4 @@ hr: other: Pismene izjave Parlamentu topics: title: "%{title}: detaljne informacije" + visually_hidden_get_emails: diff --git a/config/locales/hu/shared.yml b/config/locales/hu/shared.yml index 926948bf5..65733843a 100644 --- a/config/locales/hu/shared.yml +++ b/config/locales/hu/shared.yml @@ -333,3 +333,4 @@ hu: other: Írásbeli parlamenti nyilatkozatok topics: title: "%{title}: részletes információ" + visually_hidden_get_emails: diff --git a/config/locales/hy/shared.yml b/config/locales/hy/shared.yml index d5136d44a..c2d5335d4 100644 --- a/config/locales/hy/shared.yml +++ b/config/locales/hy/shared.yml @@ -333,3 +333,4 @@ hy: other: Խորհրդարանին ուղղված գրավոր հայտարարություններ topics: title: "%{title}: մանրամասն տեղեկություն" + visually_hidden_get_emails: diff --git a/config/locales/id/shared.yml b/config/locales/id/shared.yml index 823725a32..1d7372639 100644 --- a/config/locales/id/shared.yml +++ b/config/locales/id/shared.yml @@ -227,3 +227,4 @@ id: other: Pernyataan tertulis kepada Parlemen topics: title: "%{title}: informasi terperinci" + visually_hidden_get_emails: diff --git a/config/locales/is/shared.yml b/config/locales/is/shared.yml index 06290a3c3..e0ec8e4d2 100644 --- a/config/locales/is/shared.yml +++ b/config/locales/is/shared.yml @@ -333,3 +333,4 @@ is: other: Skriflegar yfirlýsingar til Þingsins topics: title: "%{title}: nákvæmar upplýsingar" + visually_hidden_get_emails: diff --git a/config/locales/it/shared.yml b/config/locales/it/shared.yml index 41472fdae..7fd41d1b2 100644 --- a/config/locales/it/shared.yml +++ b/config/locales/it/shared.yml @@ -333,3 +333,4 @@ it: other: Dichiarazioni scritte al Parlamento topics: title: "%{title}: informazioni dettagliate" + visually_hidden_get_emails: diff --git a/config/locales/ja/shared.yml b/config/locales/ja/shared.yml index f0b4b69e3..b76121714 100644 --- a/config/locales/ja/shared.yml +++ b/config/locales/ja/shared.yml @@ -227,3 +227,4 @@ ja: other: 議会への書面による声明 topics: title: "%{title}:詳細情報" + visually_hidden_get_emails: diff --git a/config/locales/ka/shared.yml b/config/locales/ka/shared.yml index d69626745..4caeeb760 100644 --- a/config/locales/ka/shared.yml +++ b/config/locales/ka/shared.yml @@ -333,3 +333,4 @@ ka: other: წერილობითი განცხადებები პარლამენტში topics: title: "%{title}: დეტალური ინფორმაცია" + visually_hidden_get_emails: diff --git a/config/locales/kk/shared.yml b/config/locales/kk/shared.yml index 49bd531c0..67092c171 100644 --- a/config/locales/kk/shared.yml +++ b/config/locales/kk/shared.yml @@ -333,3 +333,4 @@ kk: other: Парламентке жазбаша мәлімдемелер topics: title: "%{title}: егжей-тегжейлі ақпарат" + visually_hidden_get_emails: diff --git a/config/locales/ko/shared.yml b/config/locales/ko/shared.yml index 67d73a152..3c8a4fd65 100644 --- a/config/locales/ko/shared.yml +++ b/config/locales/ko/shared.yml @@ -227,3 +227,4 @@ ko: other: 의회로 서면 성명 topics: title: "%{title}: 상세 정보" + visually_hidden_get_emails: diff --git a/config/locales/lt/shared.yml b/config/locales/lt/shared.yml index 87b1087a6..e9fc983b1 100644 --- a/config/locales/lt/shared.yml +++ b/config/locales/lt/shared.yml @@ -439,3 +439,4 @@ lt: other: Rašytiniai kreipimaisi į parlamentą topics: title: "%{title}: detali informacija" + visually_hidden_get_emails: diff --git a/config/locales/lv/shared.yml b/config/locales/lv/shared.yml index 6e970ffd9..030561fbd 100644 --- a/config/locales/lv/shared.yml +++ b/config/locales/lv/shared.yml @@ -333,3 +333,4 @@ lv: other: Rakstiski ziņojumi parlamentam topics: title: "%{title}: detalizēta informācija" + visually_hidden_get_emails: diff --git a/config/locales/ms/shared.yml b/config/locales/ms/shared.yml index e1b9347c8..96cbc6abf 100644 --- a/config/locales/ms/shared.yml +++ b/config/locales/ms/shared.yml @@ -227,3 +227,4 @@ ms: other: Kenyataan bertulis kepada Parlimen topics: title: "%{title}: maklumat terperinci" + visually_hidden_get_emails: diff --git a/config/locales/mt/shared.yml b/config/locales/mt/shared.yml index b09e6ac5f..b1d49d011 100644 --- a/config/locales/mt/shared.yml +++ b/config/locales/mt/shared.yml @@ -545,3 +545,4 @@ mt: other: Dikjarazzjonijiet bil-miktub lill-Parlament topics: title: "%{title}: informazzjoni dettaljata" + visually_hidden_get_emails: diff --git a/config/locales/ne/shared.yml b/config/locales/ne/shared.yml index 360421c98..cdccc29e7 100644 --- a/config/locales/ne/shared.yml +++ b/config/locales/ne/shared.yml @@ -333,3 +333,4 @@ ne: other: topics: title: + visually_hidden_get_emails: diff --git a/config/locales/nl/shared.yml b/config/locales/nl/shared.yml index ffe65f000..6bcd53d26 100644 --- a/config/locales/nl/shared.yml +++ b/config/locales/nl/shared.yml @@ -333,3 +333,4 @@ nl: other: Schriftelijke verklaringen aan het Parlement topics: title: "%{title}: gedetailleerde informatie" + visually_hidden_get_emails: diff --git a/config/locales/no/shared.yml b/config/locales/no/shared.yml index e8cc39f16..fd2bad78d 100644 --- a/config/locales/no/shared.yml +++ b/config/locales/no/shared.yml @@ -333,3 +333,4 @@ other: Skriftlige uttalelser til Stortinget topics: title: "%{title}: detaljert informasjon" + visually_hidden_get_emails: diff --git a/config/locales/pa-pk/shared.yml b/config/locales/pa-pk/shared.yml index a6b4eead2..b7f1e22ec 100644 --- a/config/locales/pa-pk/shared.yml +++ b/config/locales/pa-pk/shared.yml @@ -333,3 +333,4 @@ pa-pk: other: قومی مجلس دے سامنے تحریری بیان topics: title: "%{title}: تفصیلی معلومات" + visually_hidden_get_emails: diff --git a/config/locales/pa/shared.yml b/config/locales/pa/shared.yml index 9b4b6d5bb..4f91888f7 100644 --- a/config/locales/pa/shared.yml +++ b/config/locales/pa/shared.yml @@ -333,3 +333,4 @@ pa: other: ਸੰਸਦ ਨੂੰ ਲਿਖਤੀ ਬਿਆਨ ਦਿੱਤੇ topics: title: "%{title}: ਵਿਸਤ੍ਰਿਤ ਜਾਣਕਾਰੀ" + visually_hidden_get_emails: diff --git a/config/locales/pl/shared.yml b/config/locales/pl/shared.yml index a3550828e..39f938d31 100644 --- a/config/locales/pl/shared.yml +++ b/config/locales/pl/shared.yml @@ -545,3 +545,4 @@ pl: other: Pisemne oświadczenia przed parlamentem topics: title: "%{title}: szczegółowe informacje" + visually_hidden_get_emails: diff --git a/config/locales/ps/shared.yml b/config/locales/ps/shared.yml index ac595fbe8..3c5134233 100644 --- a/config/locales/ps/shared.yml +++ b/config/locales/ps/shared.yml @@ -333,3 +333,4 @@ ps: other: پارلمان ته لیکلي ویناوې topics: title: "%{title}: مفصل معلومات" + visually_hidden_get_emails: diff --git a/config/locales/pt/shared.yml b/config/locales/pt/shared.yml index 3da2c987e..a4aaf6a71 100644 --- a/config/locales/pt/shared.yml +++ b/config/locales/pt/shared.yml @@ -333,3 +333,4 @@ pt: other: Declarações escritas ao Parlamento topics: title: "%{title}: informação detalhada" + visually_hidden_get_emails: diff --git a/config/locales/ro/shared.yml b/config/locales/ro/shared.yml index 706d0a592..948617889 100644 --- a/config/locales/ro/shared.yml +++ b/config/locales/ro/shared.yml @@ -439,3 +439,4 @@ ro: other: Declarații scrise către Parlament topics: title: "%{title}: informații detaliate" + visually_hidden_get_emails: diff --git a/config/locales/ru/shared.yml b/config/locales/ru/shared.yml index c3d7c425a..9c4a016ca 100644 --- a/config/locales/ru/shared.yml +++ b/config/locales/ru/shared.yml @@ -545,3 +545,4 @@ ru: other: Письменные заявления парламенту topics: title: "%{title}: полная информация" + visually_hidden_get_emails: diff --git a/config/locales/si/shared.yml b/config/locales/si/shared.yml index 225c8e1c8..acb9ef92c 100644 --- a/config/locales/si/shared.yml +++ b/config/locales/si/shared.yml @@ -333,3 +333,4 @@ si: other: පාර්ලිමේන්තුව වෙත ලිඛිත ප්රකාශ topics: title: "%{title}: සවිස්තරාත්මක තොරතුරු" + visually_hidden_get_emails: diff --git a/config/locales/sk/shared.yml b/config/locales/sk/shared.yml index 556e8f437..63d4aa9bb 100644 --- a/config/locales/sk/shared.yml +++ b/config/locales/sk/shared.yml @@ -439,3 +439,4 @@ sk: other: Písomné vyhlásenia pre Parlament topics: title: "%{title}: podrobné informácie" + visually_hidden_get_emails: diff --git a/config/locales/sl/shared.yml b/config/locales/sl/shared.yml index fb5b8fecb..474019780 100644 --- a/config/locales/sl/shared.yml +++ b/config/locales/sl/shared.yml @@ -545,3 +545,4 @@ sl: two: topics: title: "%{title}: podrobne informacije" + visually_hidden_get_emails: diff --git a/config/locales/so/shared.yml b/config/locales/so/shared.yml index 7c98ed240..f1cc012cb 100644 --- a/config/locales/so/shared.yml +++ b/config/locales/so/shared.yml @@ -333,3 +333,4 @@ so: other: Bayaanada qoran ee loogu talogalay Baarlamaanka topics: title: "%{title}: macluumaad faahfaahsan" + visually_hidden_get_emails: diff --git a/config/locales/sq/shared.yml b/config/locales/sq/shared.yml index 060beb6b4..5ba998023 100644 --- a/config/locales/sq/shared.yml +++ b/config/locales/sq/shared.yml @@ -333,3 +333,4 @@ sq: other: Deklarata me shkrim në Parlament topics: title: "%{title}: informacion i detajuar" + visually_hidden_get_emails: diff --git a/config/locales/sr/shared.yml b/config/locales/sr/shared.yml index 57ea2df58..684264ab1 100644 --- a/config/locales/sr/shared.yml +++ b/config/locales/sr/shared.yml @@ -439,3 +439,4 @@ sr: other: Pismene predstavke Parlamentu topics: title: "%{title}: detaljne informacije" + visually_hidden_get_emails: diff --git a/config/locales/sv/shared.yml b/config/locales/sv/shared.yml index a8529ee51..34ac79147 100644 --- a/config/locales/sv/shared.yml +++ b/config/locales/sv/shared.yml @@ -333,3 +333,4 @@ sv: other: Skriftliga uttalanden till parlamentet topics: title: "%{title}: detaljerad information" + visually_hidden_get_emails: diff --git a/config/locales/sw/shared.yml b/config/locales/sw/shared.yml index cef6e2c21..46533ae2e 100644 --- a/config/locales/sw/shared.yml +++ b/config/locales/sw/shared.yml @@ -333,3 +333,4 @@ sw: other: Taarifa za Maandishi kwa Bunge topics: title: "%{title}: maelezo ya kina" + visually_hidden_get_emails: diff --git a/config/locales/ta/shared.yml b/config/locales/ta/shared.yml index c718d4ccd..15f47da6b 100644 --- a/config/locales/ta/shared.yml +++ b/config/locales/ta/shared.yml @@ -333,3 +333,4 @@ ta: other: பாராளுமன்றத்துக்கு எழுத்துப்பூர்வ அறிவிப்புகள் topics: title: "%{title}: விரிவான தகவல்கள்" + visually_hidden_get_emails: diff --git a/config/locales/th/shared.yml b/config/locales/th/shared.yml index 19d2a12b6..636686eda 100644 --- a/config/locales/th/shared.yml +++ b/config/locales/th/shared.yml @@ -227,3 +227,4 @@ th: other: แถลงการณ์เป็นลายลักษณ์อักษรต่อรัฐสภา topics: title: "%{title}: ข้อมูลโดยละเอียด" + visually_hidden_get_emails: diff --git a/config/locales/tk/shared.yml b/config/locales/tk/shared.yml index e9451789c..12fd85a17 100644 --- a/config/locales/tk/shared.yml +++ b/config/locales/tk/shared.yml @@ -333,3 +333,4 @@ tk: other: Mejlise ýazmaça beýanlar topics: title: "%{title}: Jikme-jik maglumat" + visually_hidden_get_emails: diff --git a/config/locales/tr/shared.yml b/config/locales/tr/shared.yml index 275228913..9f2bd19b7 100644 --- a/config/locales/tr/shared.yml +++ b/config/locales/tr/shared.yml @@ -333,3 +333,4 @@ tr: other: Parlamentoya yazılı açıklamalar topics: title: "%{title}: ayrıntılı bilgi" + visually_hidden_get_emails: diff --git a/config/locales/uk/shared.yml b/config/locales/uk/shared.yml index 6ee3eb499..ae5ec1c2f 100644 --- a/config/locales/uk/shared.yml +++ b/config/locales/uk/shared.yml @@ -545,3 +545,4 @@ uk: other: Письмові заяви до Парламенту topics: title: "%{title}: детальна інформація" + visually_hidden_get_emails: diff --git a/config/locales/ur/shared.yml b/config/locales/ur/shared.yml index 110235039..306a019a0 100644 --- a/config/locales/ur/shared.yml +++ b/config/locales/ur/shared.yml @@ -333,3 +333,4 @@ ur: other: پالیمان کے لیے تحریری بیانات topics: title: "%{title}: تفصیلی معلومات" + visually_hidden_get_emails: diff --git a/config/locales/uz/shared.yml b/config/locales/uz/shared.yml index ec8f93f10..2f82a44c4 100644 --- a/config/locales/uz/shared.yml +++ b/config/locales/uz/shared.yml @@ -333,3 +333,4 @@ uz: other: Парламентга ёзма баёнотлар topics: title: "%{title}: батафсил маълумот" + visually_hidden_get_emails: diff --git a/config/locales/vi/shared.yml b/config/locales/vi/shared.yml index a24c50503..90d435800 100644 --- a/config/locales/vi/shared.yml +++ b/config/locales/vi/shared.yml @@ -227,3 +227,4 @@ vi: other: Tuyên bố bằng văn bản trước Quốc hội topics: title: "%{title}: thông tin chi tiết" + visually_hidden_get_emails: diff --git a/config/locales/yi/shared.yml b/config/locales/yi/shared.yml index 6b8ec3812..6c9d137a4 100644 --- a/config/locales/yi/shared.yml +++ b/config/locales/yi/shared.yml @@ -333,3 +333,4 @@ yi: other: topics: title: + visually_hidden_get_emails: diff --git a/config/locales/zh-hk/shared.yml b/config/locales/zh-hk/shared.yml index b9145d3b5..35658ac0a 100644 --- a/config/locales/zh-hk/shared.yml +++ b/config/locales/zh-hk/shared.yml @@ -226,3 +226,4 @@ zh-hk: other: 提交國會的書面聲明 topics: title: "%{title}: 詳細資訊" + visually_hidden_get_emails: diff --git a/config/locales/zh-tw/shared.yml b/config/locales/zh-tw/shared.yml index 14582a4d7..4dce80a4a 100644 --- a/config/locales/zh-tw/shared.yml +++ b/config/locales/zh-tw/shared.yml @@ -226,3 +226,4 @@ zh-tw: other: 對議會的書面聲明 topics: title: "%{title}:詳細資訊" + visually_hidden_get_emails: diff --git a/config/locales/zh/shared.yml b/config/locales/zh/shared.yml index 9154d6ed2..221feb140 100644 --- a/config/locales/zh/shared.yml +++ b/config/locales/zh/shared.yml @@ -227,3 +227,4 @@ zh: other: 议会口头声明 topics: title: "%{title}:详细信息" + visually_hidden_get_emails: From 7ca7cfff33c9ac0f0ffde257c7f3e8df2cc3d963 Mon Sep 17 00:00:00 2001 From: Hanna Laakso Date: Tue, 8 Aug 2023 17:22:43 +0100 Subject: [PATCH 3/3] Use translation, title for visu hidden email signup --- app/views/taxons/_common.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/taxons/_common.html.erb b/app/views/taxons/_common.html.erb index 6a6900646..d65888713 100644 --- a/app/views/taxons/_common.html.erb +++ b/app/views/taxons/_common.html.erb @@ -23,7 +23,7 @@ <%= render "govuk_publishing_components/components/signup_link", { link_text: t("shared.get_emails"), link_href: "/email-signup/?link=#{presented_taxon.base_path}", - link_aria_label: 'Sign up for email notifications about corporate information', + link_aria_label: t("shared.visually_hidden_get_emails", topic: presented_taxon.title), data: { "module": "gem-track-click", "track-category": "emailAlertLinkClicked",