Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add an aria-label to email sign up links #3345

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/views/taxons/_common.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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: t("shared.visually_hidden_get_emails", topic: presented_taxon.title),
data: {
"module": "gem-track-click",
"track-category": "emailAlertLinkClicked",
Expand Down
1 change: 1 addition & 0 deletions config/locales/ar/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -757,3 +757,4 @@ ar:
zero:
topics:
title: "%{title}: معلومات تفصيلية"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/az/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ az:
other: Parlamentə yazılı müraciətlər
topics:
title: "%{title}: ətraflı məlumat"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/be/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,4 @@ be:
other: Пісьмовыя заявы ў парламенце
topics:
title: "%{title}: дэталёвая інфармацыя"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/bg/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ bg:
other: Писмени изявления в Парламента
topics:
title: "%{title}: подробна информация"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/bn/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ bn:
other: সংসদে লিখিত বিবৃতিসমূহ
topics:
title: "%{title}: বিস্তারিত তথ্য"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/cs/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,4 @@ cs:
other: Písemná prohlášení pro Parlament
topics:
title: "%{title}: podrobné informace"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/cy/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -757,3 +757,4 @@ cy:
zero:
topics:
title: "%{title}: gwybodaeth fanwl"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/da/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,3 +345,4 @@ da:
other: Mundtlige erklæring til Parlamentet
topics:
title: "%{title}: detaljerede oplysninger"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/de/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ de:
other: Schriftliche Erklärungen vor dem Parlament
topics:
title: "%{title}: ausführliche Informationen"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/dr/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ dr:
other: بیانیه هایی کتبی به پارلمان
topics:
title: "%{title}: معلومات مفصل"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/el/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ el:
other: Γραπτές δηλώσεις στη Βουλή
topics:
title: "%{title}: αναλυτικές πληροφορίες"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/en/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions config/locales/es-419/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ es-419:
other: Declaraciones escritas ante el Parlamento
topics:
title: "%{title}: información detallada"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/es/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ es:
other: Declaraciones escritas
topics:
title: "%{title}: información detallada"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/et/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ et:
other: Kirjalikud avaldused parlamendile
topics:
title: "%{title}: üksikasjalik teave"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/fa/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ fa:
other: بیانیه‌های کتبی به پارلمان
topics:
title: "%{title}: اطلاعات جزئی"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/fi/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ fi:
other: Kirjallinen lausumat parlamentille
topics:
title: "%{title}: yksityiskohtaisia tietoja"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/fr/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ fr:
other: Déclarations écrites au Parlement
topics:
title: "%{title}: informations détaillées"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/gd/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,4 @@ gd:
two:
topics:
title: "%{title}: faisnéis mhionsonraithe"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/gu/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ gu:
other: સંસદમાં લેખિત નિવેદનો
topics:
title: "%{title}: વિગતવાર માહિતી"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/he/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ he:
other: הצהרות בכתב לפרלמנט
topics:
title: "%{title}: מידע מפורט"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/hi/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ hi:
other: संसद में लिखित बयान
topics:
title: "%{title}: विस्तृत जानकारी"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/hr/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,4 @@ hr:
other: Pismene izjave Parlamentu
topics:
title: "%{title}: detaljne informacije"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/hu/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ hu:
other: Írásbeli parlamenti nyilatkozatok
topics:
title: "%{title}: részletes információ"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/hy/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ hy:
other: Խորհրդարանին ուղղված գրավոր հայտարարություններ
topics:
title: "%{title}: մանրամասն տեղեկություն"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/id/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,4 @@ id:
other: Pernyataan tertulis kepada Parlemen
topics:
title: "%{title}: informasi terperinci"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/is/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ is:
other: Skriflegar yfirlýsingar til Þingsins
topics:
title: "%{title}: nákvæmar upplýsingar"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/it/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ it:
other: Dichiarazioni scritte al Parlamento
topics:
title: "%{title}: informazioni dettagliate"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ja/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,4 @@ ja:
other: 議会への書面による声明
topics:
title: "%{title}:詳細情報"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ka/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ ka:
other: წერილობითი განცხადებები პარლამენტში
topics:
title: "%{title}: დეტალური ინფორმაცია"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/kk/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ kk:
other: Парламентке жазбаша мәлімдемелер
topics:
title: "%{title}: егжей-тегжейлі ақпарат"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ko/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,4 @@ ko:
other: 의회로 서면 성명
topics:
title: "%{title}: 상세 정보"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/lt/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,4 @@ lt:
other: Rašytiniai kreipimaisi į parlamentą
topics:
title: "%{title}: detali informacija"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/lv/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ lv:
other: Rakstiski ziņojumi parlamentam
topics:
title: "%{title}: detalizēta informācija"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ms/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,4 @@ ms:
other: Kenyataan bertulis kepada Parlimen
topics:
title: "%{title}: maklumat terperinci"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/mt/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,4 @@ mt:
other: Dikjarazzjonijiet bil-miktub lill-Parlament
topics:
title: "%{title}: informazzjoni dettaljata"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ne/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ ne:
other:
topics:
title:
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/nl/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ nl:
other: Schriftelijke verklaringen aan het Parlement
topics:
title: "%{title}: gedetailleerde informatie"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/no/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@
other: Skriftlige uttalelser til Stortinget
topics:
title: "%{title}: detaljert informasjon"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/pa-pk/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ pa-pk:
other: قومی مجلس دے سامنے تحریری بیان
topics:
title: "%{title}: تفصیلی معلومات"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/pa/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ pa:
other: ਸੰਸਦ ਨੂੰ ਲਿਖਤੀ ਬਿਆਨ ਦਿੱਤੇ
topics:
title: "%{title}: ਵਿਸਤ੍ਰਿਤ ਜਾਣਕਾਰੀ"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/pl/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,4 @@ pl:
other: Pisemne oświadczenia przed parlamentem
topics:
title: "%{title}: szczegółowe informacje"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ps/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ ps:
other: پارلمان ته لیکلي ویناوې
topics:
title: "%{title}: مفصل معلومات"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/pt/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ pt:
other: Declarações escritas ao Parlamento
topics:
title: "%{title}: informação detalhada"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ro/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,4 @@ ro:
other: Declarații scrise către Parlament
topics:
title: "%{title}: informații detaliate"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ru/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,4 @@ ru:
other: Письменные заявления парламенту
topics:
title: "%{title}: полная информация"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/si/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ si:
other: පාර්ලිමේන්තුව වෙත ලිඛිත ප්රකාශ
topics:
title: "%{title}: සවිස්තරාත්මක තොරතුරු"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/sk/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,4 @@ sk:
other: Písomné vyhlásenia pre Parlament
topics:
title: "%{title}: podrobné informácie"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/sl/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,4 @@ sl:
two:
topics:
title: "%{title}: podrobne informacije"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/so/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ so:
other: Bayaanada qoran ee loogu talogalay Baarlamaanka
topics:
title: "%{title}: macluumaad faahfaahsan"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/sq/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ sq:
other: Deklarata me shkrim në Parlament
topics:
title: "%{title}: informacion i detajuar"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/sr/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,4 @@ sr:
other: Pismene predstavke Parlamentu
topics:
title: "%{title}: detaljne informacije"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/sv/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ sv:
other: Skriftliga uttalanden till parlamentet
topics:
title: "%{title}: detaljerad information"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/sw/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ sw:
other: Taarifa za Maandishi kwa Bunge
topics:
title: "%{title}: maelezo ya kina"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ta/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ ta:
other: பாராளுமன்றத்துக்கு எழுத்துப்பூர்வ அறிவிப்புகள்
topics:
title: "%{title}: விரிவான தகவல்கள்"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/th/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,4 @@ th:
other: แถลงการณ์เป็นลายลักษณ์อักษรต่อรัฐสภา
topics:
title: "%{title}: ข้อมูลโดยละเอียด"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/tk/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ tk:
other: Mejlise ýazmaça beýanlar
topics:
title: "%{title}: Jikme-jik maglumat"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/tr/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ tr:
other: Parlamentoya yazılı açıklamalar
topics:
title: "%{title}: ayrıntılı bilgi"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/uk/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,4 @@ uk:
other: Письмові заяви до Парламенту
topics:
title: "%{title}: детальна інформація"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/ur/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ ur:
other: پالیمان کے لیے تحریری بیانات
topics:
title: "%{title}: تفصیلی معلومات"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/uz/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ uz:
other: Парламентга ёзма баёнотлар
topics:
title: "%{title}: батафсил маълумот"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/vi/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
1 change: 1 addition & 0 deletions config/locales/yi/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ yi:
other:
topics:
title:
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/zh-hk/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,4 @@ zh-hk:
other: 提交國會的書面聲明
topics:
title: "%{title}: 詳細資訊"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/zh-tw/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,4 @@ zh-tw:
other: 對議會的書面聲明
topics:
title: "%{title}:詳細資訊"
visually_hidden_get_emails:
1 change: 1 addition & 0 deletions config/locales/zh/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,4 @@ zh:
other: 议会口头声明
topics:
title: "%{title}:详细信息"
visually_hidden_get_emails: