From dfadcd253dfdaac90a42f8670276d79e82a678af Mon Sep 17 00:00:00 2001 From: Christian Medders - Bixal <88721460+clmedders@users.noreply.github.com> Date: Thu, 11 Jan 2024 19:56:40 -0500 Subject: [PATCH 1/2] VOTE-584 add aria label to state selector (#959) --- data/translations/ar/homepage.json | 1 + data/translations/bn/homepage.json | 1 + data/translations/en/homepage.json | 1 + data/translations/es/homepage.json | 1 + data/translations/fr/homepage.json | 1 + data/translations/hi/homepage.json | 1 + data/translations/ht/homepage.json | 1 + data/translations/km/homepage.json | 1 + data/translations/ko/homepage.json | 1 + data/translations/pt/homepage.json | 1 + data/translations/ru/homepage.json | 1 + data/translations/tl/homepage.json | 1 + data/translations/vi/homepage.json | 1 + data/translations/zh-hans/homepage.json | 1 + data/translations/zh/homepage.json | 1 + layouts/index.html | 2 +- 16 files changed, 16 insertions(+), 1 deletion(-) diff --git a/data/translations/ar/homepage.json b/data/translations/ar/homepage.json index 078504ecd..50cf4c393 100644 --- a/data/translations/ar/homepage.json +++ b/data/translations/ar/homepage.json @@ -10,6 +10,7 @@ "header": "سجل للتصويت", "state_selection__heading": "حدد ولايتك أو إقليمك للحصول على معلومات حول كيفية البدء", "state_selection__placeholder": "أدخل اسم ولايتك أو إقليمك", + "state_selection__aria_label": "ستفتح صفحة الولاية عند الاختيار", "state_selection__submit": "تعرف على كيفية التسجيل", "registered__header": "هل أنت مسجل بالفعل؟", "registered__resources_intro": "استكشف %link% على %USA.gov%", diff --git a/data/translations/bn/homepage.json b/data/translations/bn/homepage.json index a560b89ea..ba41c359a 100644 --- a/data/translations/bn/homepage.json +++ b/data/translations/bn/homepage.json @@ -10,6 +10,7 @@ "header": "ভোট দিতে নিবন্ধন করুন", "state_selection__heading": "কিভাবে শুরু করবেন তার তথ্যের জন্য আপনার রাজ্য বা অঞ্চল নির্বাচন করুন।", "state_selection__placeholder": "আপনার রাজ্য বা অঞ্চলের নাম লিখুন", + "state_selection__aria_label": "নির্বাচন করার পরে রাজ্য পৃষ্ঠা খুলবে।", "state_selection__submit": "কীভাবে নিবন্ধন করবেন তা খুঁজে বের করুন", "registered__header": "ইতিমধ্যে নিবন্ধন করেছেন ?", "registered__resources_intro": "%USA.gov%-এ আমাদের %link% অনুসন্ধান করুন", diff --git a/data/translations/en/homepage.json b/data/translations/en/homepage.json index e01e3cf1c..83dda173c 100644 --- a/data/translations/en/homepage.json +++ b/data/translations/en/homepage.json @@ -2,6 +2,7 @@ "header": "Register to vote", "state_selection__heading": "Select your state or territory for information on how to get started.", "state_selection__placeholder": "Enter your state or territory name", + "state_selection__aria_label": "State page will open upon selection.", "state_selection__submit": "Find out how to register", "registered__header": "Already registered?", "registered__resources_intro": "Explore our %link% on %USA.gov%", diff --git a/data/translations/es/homepage.json b/data/translations/es/homepage.json index 7de5d5c8a..d434491fe 100644 --- a/data/translations/es/homepage.json +++ b/data/translations/es/homepage.json @@ -2,6 +2,7 @@ "header": "Inscríbase para votar", "state_selection__heading": "Seleccione su estado o territorio para obtener información acerca de cómo empezar.", "state_selection__placeholder": "Ingrese el nombre de su estado o territorio.", + "state_selection__aria_label": "Una vez hecha la selección, la página del estado se abrirá", "state_selection__submit": "Averigüe cómo registrarse", "registered__header": "¿Ya se inscribió para votar?", "registered__resources_intro": "Vea nuestra %link% en USAGov en Español", diff --git a/data/translations/fr/homepage.json b/data/translations/fr/homepage.json index bc0ec7760..27c452a6b 100644 --- a/data/translations/fr/homepage.json +++ b/data/translations/fr/homepage.json @@ -10,6 +10,7 @@ "header": "Inscrivez-vous pour voter", "state_selection__heading": "Sélectionnez votre État ou territoire pour savoir comment commencer.", "state_selection__placeholder": "Entrez le nom de votre État ou territoire", + "state_selection__aria_label": "Une fois l'État sélectionné, la page de l'État s'ouvrira.", "state_selection__submit": "Découvrez comment vous inscrire", "registered__header": "Déjà inscrit(e) ?", "registered__resources_intro": "Découvrez nos %link% au %USA.gov%", diff --git a/data/translations/hi/homepage.json b/data/translations/hi/homepage.json index c5f20e154..851ca9f57 100644 --- a/data/translations/hi/homepage.json +++ b/data/translations/hi/homepage.json @@ -10,6 +10,7 @@ "header": "मतदान करने के लिए पंजीकरण करें", "state_selection__heading": "आरंभ करने के तरीके के बारे में जानकारी के लिए अपना राज्य या क्षेत्र चुनें।", "state_selection__placeholder": "अपने राज्य या क्षेत्र का नाम दर्ज करें", + "state_selection__aria_label": "चयन करने पर स्टेट पेज खुलेगा।", "state_selection__submit": "जानें पंजीकरण कैसे करना है ", "registered__header": "पहले से पंजीकृत हैं?", "registered__resources_intro": "%USA.gov% पर हमारे %link% की विस्तृत जानकारी प्राप्त करें।", diff --git a/data/translations/ht/homepage.json b/data/translations/ht/homepage.json index c2035683d..970b8529f 100644 --- a/data/translations/ht/homepage.json +++ b/data/translations/ht/homepage.json @@ -10,6 +10,7 @@ "header": "Enskri pou vote", "state_selection__heading": "Chwazi Eta oswa teritwa w la pou jwenn enfòmasyon sou kouman pou demare.", "state_selection__placeholder": "Ekri non Eta a oswa teritwa w lan.", + "state_selection__aria_label": "Paj pou Eta a ap ouvri kou w fè seleksyon an.", "state_selection__submit": "Jwenn fason pou enskri", "registered__header": "Ou gentan enskri?", "registered__resources_intro": "Eksplore %link% nou yo sou %USA.gov%", diff --git a/data/translations/km/homepage.json b/data/translations/km/homepage.json index 0d6ee510c..7f617e5ae 100644 --- a/data/translations/km/homepage.json +++ b/data/translations/km/homepage.json @@ -10,6 +10,7 @@ "header": "ចុះឈ្មោះដើម្បីបោះឆ្នោត", "state_selection__heading": "ជ្រើសរើសរដ្ឋ ឬដែនដីរបស់អ្នកសម្រាប់ព័ត៌មានអំពីរបៀបចាប់ផ្តើម។", "state_selection__placeholder": "វាយបញ្ចូលឈ្មោះរដ្ឋ ឬដែនដីរបស់អ្នក", + "state_selection__aria_label": "ទំព័ររបស់រដ្ឋនឹងបើកក្រោយពីមានការជ្រើសរើស។", "state_selection__submit": "ស្វែងយល់ពីរបៀបចុះឈ្មោះ", "registered__header": "បានចុះឈ្មោះរួចហើយមែនទេ?", "registered__resources_intro": "ស្រាវជ្រាវ %link% របស់យើងនៅ %USA.gov%", diff --git a/data/translations/ko/homepage.json b/data/translations/ko/homepage.json index 4cbe0b5ae..6197f4e75 100644 --- a/data/translations/ko/homepage.json +++ b/data/translations/ko/homepage.json @@ -10,6 +10,7 @@ "header": "유권자 등록하기", "state_selection__heading": "해당 주 또는 영토를 선택하여 시작하는 방법을 확인하십시오.", "state_selection__placeholder": "해당 주 또는 영토 이름을 입력하십시오.", + "state_selection__aria_label": "주 정부 페이지를 선택하시면 페이지가 열립니다.", "state_selection__submit": "유권자 등록 방법 안내 ", "registered__header": "이미 등록하셨습니까?", "registered__resources_intro": "%USA.gov% 사이트에서 %link% 정보를 검색하십시오", diff --git a/data/translations/pt/homepage.json b/data/translations/pt/homepage.json index c886c0877..8b133fb93 100644 --- a/data/translations/pt/homepage.json +++ b/data/translations/pt/homepage.json @@ -2,6 +2,7 @@ "header": "Registre-se para votar", "state_selection__heading": "Selecione seu estado ou território para obter informações sobre como começar.", "state_selection__placeholder": "Digite o nome do seu estado ou território.", + "state_selection__aria_label": "A página do Estado vai abrir após seleccionar.", "state_selection__submit": "Informe-se como registar-se", "registered__header": "Já se registrou?", "registered__resources_intro": "Explore os nossos %link% em %USA.gov%", diff --git a/data/translations/ru/homepage.json b/data/translations/ru/homepage.json index 38b219ec9..db136e090 100644 --- a/data/translations/ru/homepage.json +++ b/data/translations/ru/homepage.json @@ -2,6 +2,7 @@ "header": "Зарегистрируйтесь для голосования", "state_selection__heading": "Выберите свой штат или территорию, чтобы получить информацию о том, как начать.", "state_selection__placeholder": "Введите название вашего штата или территории", + "state_selection__aria_label": "Страница вашего штата откроется после выбора штата.", "state_selection__submit": "Узнайте, как зарегистрироваться", "registered__header": "Уже зарегистрировались?", "registered__resources_intro": "Ознакомьтесь с нашими %link% на %USA.gov%", diff --git a/data/translations/tl/homepage.json b/data/translations/tl/homepage.json index 189f0e5c5..44b88c43e 100644 --- a/data/translations/tl/homepage.json +++ b/data/translations/tl/homepage.json @@ -10,6 +10,7 @@ "header": "Magrehistro para bumoto", "state_selection__heading": "Piliin ang inyong estado o teritoryo para sa impormasyon kung paano magsimula.", "state_selection__placeholder": "Ipasok ang pangalan ng inyong estado o teritoryo", + "state_selection__aria_label": "Ang pahina ng estado ay magbubukas pagkapili", "state_selection__submit": "Alamin kung paano magparehistro", "registered__header": "Nakarehistro na para bumoto?", "registered__resources_intro": "Saliksikin ang aming %link% sa %USA.gov%", diff --git a/data/translations/vi/homepage.json b/data/translations/vi/homepage.json index 69fd717dd..d3b230c39 100644 --- a/data/translations/vi/homepage.json +++ b/data/translations/vi/homepage.json @@ -10,6 +10,7 @@ "header": "Đăng ký bỏ phiếu bầu", "state_selection__heading": "Chọn tiểu bang hoặc lãnh thổ bạn ở để có thông tin làm thế nào để bắt đầu.", "state_selection__placeholder": "Nhập tên tiểu bang hoặc lãnh thổ bạn ở.", + "state_selection__aria_label": "Trang tiểu bang sẽ mở ra khi lựa chọn.", "state_selection__submit": "Tìm hiểu cách đăng ký", "registered__header": "Bạn đã đăng ký?", "registered__resources_intro": "Tìm hiều %link% trên %USA.gov%", diff --git a/data/translations/zh-hans/homepage.json b/data/translations/zh-hans/homepage.json index 3cc8c260a..967924df3 100644 --- a/data/translations/zh-hans/homepage.json +++ b/data/translations/zh-hans/homepage.json @@ -10,6 +10,7 @@ "header": "登记投票", "state_selection__heading": "选择您所在的州或领地以获取有关如何开始的信息。", "state_selection__placeholder": "输入您的州或领地名称", + "state_selection__aria_label": "状态页面将在选择后打开", "state_selection__submit": "了解如何注册", "registered__header": "已经登记了?", "registered__resources_intro": "在 %USA.gov% 上探索我们的 %link%", diff --git a/data/translations/zh/homepage.json b/data/translations/zh/homepage.json index c9601884f..f2caf37b1 100644 --- a/data/translations/zh/homepage.json +++ b/data/translations/zh/homepage.json @@ -10,6 +10,7 @@ "header": "登記投票", "state_selection__heading": "選擇您所在的州或領地以獲取有關如何開始的資訊。", "state_selection__placeholder": "輸入您的州或領地名稱", + "state_selection__aria_label": "選擇後將開啟狀態頁面", "state_selection__submit": "了解如何登記", "registered__header": "已經登記了?", "registered__resources_intro": "在 %USA.gov% 上探索我們的%link%", diff --git a/layouts/index.html b/layouts/index.html index f61f47d7e..5ec04e8d8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -30,7 +30,7 @@