From b2e55eb5596d555e5cc1dac96da8afb4dc83c4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Robles?= Date: Tue, 20 Feb 2024 19:32:49 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Fix=20WCAG=20Issues=20and=20create?= =?UTF-8?q?=20new=20report=20(#427)=20(#431)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Parent issue: https://github.com/sequentech/meta/issues/550 --- .../audit-ballot-screen-directive.html | 21 ++++++----- .../booth-children-elections-directive.html | 12 +++--- .../election-chooser-screen-directive.html | 10 +++-- .../encrypting-ballot-screen-directive.html | 8 ++-- .../review-ballot-v2-directive.html | 18 +++++---- .../review-screen-directive.html | 21 ++++++----- ...ltaneous-question-answer-v2-directive.html | 6 ++- ...neous-questions-category-v2-directive.html | 8 +++- ...taneous-questions-v2-screen-directive.html | 37 +++++++++++-------- .../start-screen-directive.html | 21 ++++++----- .../success-screen-directive.html | 33 +++++++++-------- index.html | 14 +++---- locales/ca.json | 4 ++ locales/en.json | 9 ++++- locales/es.json | 9 ++++- 15 files changed, 139 insertions(+), 92 deletions(-) diff --git a/avBooth/audit-ballot-screen-directive/audit-ballot-screen-directive.html b/avBooth/audit-ballot-screen-directive/audit-ballot-screen-directive.html index 8b8c716c..07b56f1e 100644 --- a/avBooth/audit-ballot-screen-directive/audit-ballot-screen-directive.html +++ b/avBooth/audit-ballot-screen-directive/audit-ballot-screen-directive.html @@ -1,4 +1,7 @@ + + +
-
+
-
+

@@ -60,11 +63,11 @@

- +
-
+
-
+
-
+ \ No newline at end of file diff --git a/avBooth/booth-children-elections-directive/booth-children-elections-directive.html b/avBooth/booth-children-elections-directive/booth-children-elections-directive.html index 30dc3513..649da3f5 100644 --- a/avBooth/booth-children-elections-directive/booth-children-elections-directive.html +++ b/avBooth/booth-children-elections-directive/booth-children-elections-directive.html @@ -1,11 +1,12 @@ -

{{category | customI18n : 'title'}}

-
{{category | customI18n : 'title'}} ng-class="{'selected': selectedElectionId === election.event_id, 'btn-election-open': checkElectionStarted(election.electionData) && canVoteElection(election)}" data-election-id="{{election.event_id}}" ng-click="canVoteElection(election) && click(election)" + aria-label="{{ election | customI18n : 'title' }} ( {{ hasVotedElection(election) ? ('avBooth.electionChooserScreen.voted' | i18next) : ('avBooth.electionChooserScreen.notVoted' | i18next) }} )" >
-

{{election | customI18n : 'title'}}

+

{{election | customI18n : 'title'}}

{{election | customI18n : 'description'}}

{{election | customI18n : 'title'}} ng-click="canVoteElection(election) && click(election)" ng-i18next="avBooth.electionChooserScreen.clickToVoteBtn"> -
+
-
+ diff --git a/avBooth/election-chooser-screen-directive/election-chooser-screen-directive.html b/avBooth/election-chooser-screen-directive/election-chooser-screen-directive.html index bfdb3349..709a428f 100644 --- a/avBooth/election-chooser-screen-directive/election-chooser-screen-directive.html +++ b/avBooth/election-chooser-screen-directive/election-chooser-screen-directive.html @@ -1,10 +1,12 @@ + +
-
+
-
+
@@ -30,6 +32,6 @@

parent-election="parentElection" >

-
+ -
\ No newline at end of file + \ No newline at end of file diff --git a/avBooth/encrypting-ballot-screen-directive/encrypting-ballot-screen-directive.html b/avBooth/encrypting-ballot-screen-directive/encrypting-ballot-screen-directive.html index 9df4c9f2..4088944f 100644 --- a/avBooth/encrypting-ballot-screen-directive/encrypting-ballot-screen-directive.html +++ b/avBooth/encrypting-ballot-screen-directive/encrypting-ballot-screen-directive.html @@ -1,4 +1,6 @@ + +
@@ -11,7 +13,7 @@ -
+
@@ -42,7 +45,7 @@

-
+
-
+
-
+
-
+
-
+
-
+
\ No newline at end of file diff --git a/avBooth/simultaneous-question-answer-v2-directive/simultaneous-question-answer-v2-directive.html b/avBooth/simultaneous-question-answer-v2-directive/simultaneous-question-answer-v2-directive.html index ec40c1f4..4143530a 100644 --- a/avBooth/simultaneous-question-answer-v2-directive/simultaneous-question-answer-v2-directive.html +++ b/avBooth/simultaneous-question-answer-v2-directive/simultaneous-question-answer-v2-directive.html @@ -1,6 +1,7 @@ -
-
\ No newline at end of file + \ No newline at end of file diff --git a/avBooth/simultaneous-questions-category-v2-directive/simultaneous-questions-category-v2-directive.html b/avBooth/simultaneous-questions-category-v2-directive/simultaneous-questions-category-v2-directive.html index cd7049c1..5b5b17a0 100644 --- a/avBooth/simultaneous-questions-category-v2-directive/simultaneous-questions-category-v2-directive.html +++ b/avBooth/simultaneous-questions-category-v2-directive/simultaneous-questions-category-v2-directive.html @@ -1,6 +1,6 @@
-

- {{ category.title }} +

+ {{ category | customI18n : 'title' }}

@@ -74,6 +76,8 @@

> diff --git a/avBooth/simultaneous-questions-v2-screen-directive/simultaneous-questions-v2-screen-directive.html b/avBooth/simultaneous-questions-v2-screen-directive/simultaneous-questions-v2-screen-directive.html index 0cfda975..63417757 100644 --- a/avBooth/simultaneous-questions-v2-screen-directive/simultaneous-questions-v2-screen-directive.html +++ b/avBooth/simultaneous-questions-v2-screen-directive/simultaneous-questions-v2-screen-directive.html @@ -1,14 +1,18 @@ + + +
-
+
-
+
-
@@ -22,7 +26,7 @@
-
+

@@ -38,8 +42,8 @@

ng-bind-html="election | customI18n : 'description' | addTargetBlank">

-
-

+
+

-

-
+

@@ -171,10 +176,10 @@

+
+ -
+
+

diff --git a/avBooth/start-screen-directive/start-screen-directive.html b/avBooth/start-screen-directive/start-screen-directive.html index 3bf6a85b..8234aeaf 100644 --- a/avBooth/start-screen-directive/start-screen-directive.html +++ b/avBooth/start-screen-directive/start-screen-directive.html @@ -1,10 +1,13 @@ + + +
-
+
-
+
@@ -103,29 +106,29 @@

-
+
-
+
-

+ -
+ \ No newline at end of file diff --git a/avBooth/success-screen-directive/success-screen-directive.html b/avBooth/success-screen-directive/success-screen-directive.html index 64634782..0f147f21 100644 --- a/avBooth/success-screen-directive/success-screen-directive.html +++ b/avBooth/success-screen-directive/success-screen-directive.html @@ -1,10 +1,13 @@ + + +
- + +
+
+
- -
-
- -
- -
-
+ +
diff --git a/locales/ca.json b/locales/ca.json index 0aca5d52..e9f44dac 100644 --- a/locales/ca.json +++ b/locales/ca.json @@ -397,6 +397,10 @@ "body": "Benvingut a la cabina de votació, aquesta pantalla mostra la llista de les eleccions en les quals pots emetre el teu vot. Les eleccions que apareixen en aquesta llista poden estar obertes a votació, programades o tancades. Només podràs accedir a la votació si el període de votació està obert. En el cas que una elecció estigui tancada i el seu administrador electoral hagi publicat el resultat, veuràs un botó \"Resultat electoral\" que et portarà a la pàgina pública de resultats.", "confirm": "D'acord" } + }, + "skipLinks": { + "skipToMain": "Saltar al contingut principal", + "skipToFooter": "Saltar al peu de pàgina" } }, "avElection": { diff --git a/locales/en.json b/locales/en.json index a6ec5e9f..d7a8b3e8 100644 --- a/locales/en.json +++ b/locales/en.json @@ -392,7 +392,9 @@ "confirm": "OK" }, "searchWarn": "Ballot candidates have been filtered. To view all candidates on this ballot, please disable the filter.", - "filterOptionsPlaceholder": "Search a Candidate" + "filterOptionsPlaceholder": "Search a Candidate", + "actionsSection": "Actions", + "errorsList": "Your selection presents the following errors, are you sure you want to cast your ballot?" }, "pairwiseBeta": { @@ -450,6 +452,11 @@ "body": "Welcome to the Voting Booth, this screen shows the list of elections you can cast a ballot. Elections displayed in this list can be open to voting, scheduled, or closed. You will be able to access the ballot only if the voting period is open. In the case an election is closed and your election administrator has published the result you will see an \"Election Result\" button that will take you to the public result page.", "confirm": "OK" } + }, + "skipLinks": { + "skipToMain": "Skip to main content", + "skipToFooter": "Skip to footer", + "skipToActions": "Skip to Actions" } } } diff --git a/locales/es.json b/locales/es.json index 772e916b..8083bd4e 100644 --- a/locales/es.json +++ b/locales/es.json @@ -371,7 +371,9 @@ "confirm": "OK" }, "searchWarn": "Los candidatos de la pregunta han sido filtrados. Para ver a todos los candidatos en esta pregunta, por favor desactiva el filtro.", - "filterOptionsPlaceholder": "Busca un Candidato" + "filterOptionsPlaceholder": "Busca un Candidato", + "actionsSection": "Acciones", + "errorsList": "Su selección presenta los siguientes errores, ¿está seguro de querer emitir su voto?" }, "pairwiseBeta": { @@ -430,6 +432,11 @@ "body": "Bienvenido a la cabina de votación, esta pantalla muestra la lista de elecciones en las que puede emitir su voto. Las elecciones que aparecen en esta lista pueden estar abiertas a votación, programadas o cerradas. Sólo podrá acceder a la votación si el periodo de votación está abierto. En el caso de que una elección esté cerrada y su administrador electoral haya publicado el resultado, verá un botón \"Resultado electoral\" que le llevará a la página pública de resultados.", "confirm": "OK" } + }, + "skipLinks": { + "skipToMain": "Saltar al contenido principal", + "skipToFooter": "Saltar al pie de página", + "skipToActions": "Skip to Actions" } }, "avElection": {