From 4fe57d80f10292e70e3b4c96f5d680d5b2da6c1a Mon Sep 17 00:00:00 2001 From: nagyad Date: Tue, 12 Sep 2023 13:44:01 +0200 Subject: [PATCH] EWPP-3592: Accessibility fix for news-ticker buttons. --- .../translations/oe_theme_helper-bg.po | 12 ++++++++++++ .../translations/oe_theme_helper-cs.po | 12 ++++++++++++ .../translations/oe_theme_helper-da.po | 12 ++++++++++++ .../translations/oe_theme_helper-de.po | 12 ++++++++++++ .../translations/oe_theme_helper-el.po | 12 ++++++++++++ .../translations/oe_theme_helper-es.po | 12 ++++++++++++ .../translations/oe_theme_helper-et.po | 12 ++++++++++++ .../translations/oe_theme_helper-fi.po | 12 ++++++++++++ .../translations/oe_theme_helper-fr.po | 12 ++++++++++++ .../translations/oe_theme_helper-ga.po | 12 ++++++++++++ .../translations/oe_theme_helper-hr.po | 12 ++++++++++++ .../translations/oe_theme_helper-hu.po | 12 ++++++++++++ .../translations/oe_theme_helper-it.po | 12 ++++++++++++ .../translations/oe_theme_helper-lt.po | 12 ++++++++++++ .../translations/oe_theme_helper-lv.po | 12 ++++++++++++ .../translations/oe_theme_helper-mt.po | 12 ++++++++++++ .../translations/oe_theme_helper-nl.po | 12 ++++++++++++ .../translations/oe_theme_helper-pl.po | 12 ++++++++++++ .../translations/oe_theme_helper-pt-pt.po | 12 ++++++++++++ .../translations/oe_theme_helper-ro.po | 12 ++++++++++++ .../translations/oe_theme_helper-sk.po | 12 ++++++++++++ .../translations/oe_theme_helper-sl.po | 12 ++++++++++++ .../translations/oe_theme_helper-sv.po | 12 ++++++++++++ .../news_ticker/pattern-news-ticker.html.twig | 6 +++++- tests/src/Kernel/fixtures/rendering.yml | 4 ++++ 25 files changed, 285 insertions(+), 1 deletion(-) diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-bg.po b/modules/oe_theme_helper/translations/oe_theme_helper-bg.po index 19f28ef0f..c9b04b8f8 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-bg.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-bg.po @@ -635,3 +635,15 @@ msgstr "Свиване" msgid "Ongoing" msgstr "Текущо" + +msgid "Next news item" +msgstr "Следваща новина" + +msgid "Previous news item" +msgstr "Предишна новина" + +msgid "Pause news ticker" +msgstr "Пауза на лентата с новини" + +msgid "Play news ticker" +msgstr "Пускане на лентата с новини" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-cs.po b/modules/oe_theme_helper/translations/oe_theme_helper-cs.po index 2c87ae134..f6f55b467 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-cs.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-cs.po @@ -635,3 +635,15 @@ msgstr "probíhá" msgid "Opening of tenders" msgstr "Otevírání nabídek" + +msgid "Next news item" +msgstr "Další aktualita" + +msgid "Previous news item" +msgstr "Předchozí aktualita" + +msgid "Pause news ticker" +msgstr "Pozastavit pohyblivý pruh s aktualitami" + +msgid "Play news ticker" +msgstr "Přehrát pohyblivý pruh s aktualitami" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-da.po b/modules/oe_theme_helper/translations/oe_theme_helper-da.po index 568bbe8ef..ff1e5c8bb 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-da.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-da.po @@ -635,3 +635,15 @@ msgstr "Igangværende" msgid "Opening of tenders" msgstr "Åbning af bud" + +msgid "Next news item" +msgstr "Næste nyhed" + +msgid "Previous news item" +msgstr "Forrige nyhed" + +msgid "Pause news ticker" +msgstr "Sæt nyhedsbåndet på pausei" + +msgid "Play news ticker" +msgstr "Afspil nyhedsbåndet" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-de.po b/modules/oe_theme_helper/translations/oe_theme_helper-de.po index 171ad6cc7..09372dd46 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-de.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-de.po @@ -635,3 +635,15 @@ msgstr "Laufend" msgid "Opening of tenders" msgstr "Öffnung der Angebote" + +msgid "Next news item" +msgstr "Nächste Nachricht" + +msgid "Previous news item" +msgstr "Vorherige Nachricht" + +msgid "Pause news ticker" +msgstr "News-Ticker anhalten" + +msgid "Play news ticker" +msgstr "News-Ticker einschalten" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-el.po b/modules/oe_theme_helper/translations/oe_theme_helper-el.po index 0564f6fd9..ba9a5b534 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-el.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-el.po @@ -635,3 +635,15 @@ msgstr "Σε εξέλιξη" msgid "Opening of tenders" msgstr "Αποσφράγιση των προσφορών" + +msgid "Next news item" +msgstr "Επόμενη είδηση" + +msgid "Previous news item" +msgstr "Προηγούμενη είδηση" + +msgid "Pause news ticker" +msgstr "Διακοπή κυλιόμενων ειδήσεων" + +msgid "Play news ticker" +msgstr "Εκκίνηση κυλιόμενων ειδήσεων" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-es.po b/modules/oe_theme_helper/translations/oe_theme_helper-es.po index 0edb5fa55..2d1828598 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-es.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-es.po @@ -635,3 +635,15 @@ msgstr "En curso" msgid "Opening of tenders" msgstr "Apertura de plicas" + +msgid "Next news item" +msgstr "Noticia siguiente" + +msgid "Previous news item" +msgstr "Noticia anterior" + +msgid "Pause news ticker" +msgstr "Detener banda de noticias" + +msgid "Play news ticker" +msgstr "Activar banda de noticias" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-et.po b/modules/oe_theme_helper/translations/oe_theme_helper-et.po index 3d10152ff..ff7ab4037 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-et.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-et.po @@ -635,3 +635,15 @@ msgstr "Käimasolev" msgid "Opening of tenders" msgstr "Pakkumiste avamine" + +msgid "Next news item" +msgstr "Järgmine uudiskirje" + +msgid "Previous news item" +msgstr "Eelmine uudiskirje" + +msgid "Pause news ticker" +msgstr "Peata uudisteriba" + +msgid "Play news ticker" +msgstr "Käivita uudisteriba" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-fi.po b/modules/oe_theme_helper/translations/oe_theme_helper-fi.po index 33f3a46d9..2c76e6c9e 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-fi.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-fi.po @@ -635,3 +635,15 @@ msgstr "Meneillään" msgid "Opening of tenders" msgstr "Tarjousten avaaminen" + +msgid "Next news item" +msgstr "Seuraava uutinen" + +msgid "Previous news item" +msgstr "Edellinen uutinen" + +msgid "Pause news ticker" +msgstr "Pysäytä uutisnauha" + +msgid "Play news ticker" +msgstr "Käynnistä uutisnauha" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-fr.po b/modules/oe_theme_helper/translations/oe_theme_helper-fr.po index 833237eba..b57d8de98 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-fr.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-fr.po @@ -635,3 +635,15 @@ msgstr "En cours" msgid "Opening of tenders" msgstr "Ouverture des offres" + +msgid "Next news item" +msgstr "Actualité suivante" + +msgid "Previous news item" +msgstr "Actualité précédente" + +msgid "Pause news ticker" +msgstr "Interrompre le fil d’information" + +msgid "Play news ticker" +msgstr "Lancer le fil d’information" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-ga.po b/modules/oe_theme_helper/translations/oe_theme_helper-ga.po index c64048eae..9b1514398 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-ga.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-ga.po @@ -635,3 +635,15 @@ msgstr "Ar siúl faoi láthair" msgid "Opening of tenders" msgstr "Oscailt tairiscintí" + +msgid "Next news item" +msgstr "An chéad mhír nuachta eile" + +msgid "Previous news item" +msgstr "An mhír nuachta roimhe seo" + +msgid "Pause news ticker" +msgstr "Cuir an ticear nuachta ar sos" + +msgid "Play news ticker" +msgstr "Cuir an ticear nuachta ar siúl" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-hr.po b/modules/oe_theme_helper/translations/oe_theme_helper-hr.po index 0b1f763f2..d02a3a266 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-hr.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-hr.po @@ -635,3 +635,15 @@ msgstr "Tekući" msgid "Opening of tenders" msgstr "Otvaranje ponuda" + +msgid "Next news item" +msgstr "Sljedeća vijest" + +msgid "Previous news item" +msgstr "Prethodna vijest" + +msgid "Pause news ticker" +msgstr "Pauziraj traku s vijestima" + +msgid "Play news ticker" +msgstr "Pokreni traku s vijestima" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-hu.po b/modules/oe_theme_helper/translations/oe_theme_helper-hu.po index fd3240edf..b440c9bad 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-hu.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-hu.po @@ -635,3 +635,15 @@ msgstr "Folyamatban" msgid "Opening of tenders" msgstr "Az ajánlatok felbontása" + +msgid "Next news item" +msgstr "Következő hír" + +msgid "Previous news item" +msgstr "Előző hír" + +msgid "Pause news ticker" +msgstr "Hírszalag megállítása" + +msgid "Play news ticker" +msgstr "Hírszalag elindítása" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-it.po b/modules/oe_theme_helper/translations/oe_theme_helper-it.po index 493187640..3720713fc 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-it.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-it.po @@ -635,3 +635,15 @@ msgstr "In corso" msgid "Opening of tenders" msgstr "Apertura delle offerte" + +msgid "Next news item" +msgstr "Notizia successiva" + +msgid "Previous news item" +msgstr "Notizia precedente" + +msgid "Pause news ticker" +msgstr "Ferma la sequenza delle notizie" + +msgid "Play news ticker" +msgstr "Attiva la sequenza delle notizie" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-lt.po b/modules/oe_theme_helper/translations/oe_theme_helper-lt.po index 18c2f448d..c4573134a 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-lt.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-lt.po @@ -635,3 +635,15 @@ msgstr "Vykstantis" msgid "Opening of tenders" msgstr "Vokų su pasiūlymais atplėšimas" + +msgid "Next news item" +msgstr "Kitas naujienų punktas" + +msgid "Previous news item" +msgstr "Ankstesnis naujienų punktas" + +msgid "Pause news ticker" +msgstr "Stabdyti naujienų juostą" + +msgid "Play news ticker" +msgstr "Paleisti naujienų juostą" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-lv.po b/modules/oe_theme_helper/translations/oe_theme_helper-lv.po index 7b26ab593..17b5eb0d4 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-lv.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-lv.po @@ -635,3 +635,15 @@ msgstr "Izsludināts" msgid "Opening of tenders" msgstr "Piedāvājumu atvēršana" + +msgid "Next news item" +msgstr "Uz nākamo ziņu" + +msgid "Previous news item" +msgstr "Uz iepriekšējo ziņu" + +msgid "Pause news ticker" +msgstr "Pauzēt ziņu lenti" + +msgid "Play news ticker" +msgstr "Spēlēt ziņu lenti" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-mt.po b/modules/oe_theme_helper/translations/oe_theme_helper-mt.po index 3347e5833..732557ed3 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-mt.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-mt.po @@ -635,3 +635,15 @@ msgstr "Għaddejja" msgid "Opening of tenders" msgstr "Ftuħ ta’ l-offerti" + +msgid "Next news item" +msgstr "L-aħbar li jmiss" + +msgid "Previous news item" +msgstr "L-aħbar preċedenti" + +msgid "Pause news ticker" +msgstr "Waqqaf l-għażla tal-aħbarijiet" + +msgid "Play news ticker" +msgstr "Ħaddem l-għażla tal-aħbarijiet" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-nl.po b/modules/oe_theme_helper/translations/oe_theme_helper-nl.po index 5a5f65a2b..2c5129099 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-nl.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-nl.po @@ -635,3 +635,15 @@ msgstr "Lopend" msgid "Opening of tenders" msgstr "Opening van de inschrijvingen" + +msgid "Next news item" +msgstr "Volgende nieuwsbericht" + +msgid "Previous news item" +msgstr "Vorig nieuwsbericht" + +msgid "Pause news ticker" +msgstr "Nieuwsticker pauzeren" + +msgid "Play news ticker" +msgstr "Nieuwsticker afspelen" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-pl.po b/modules/oe_theme_helper/translations/oe_theme_helper-pl.po index 6c6f6277f..d35806735 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-pl.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-pl.po @@ -635,3 +635,15 @@ msgstr "Otwarty" msgid "Opening of tenders" msgstr "Otwarcie ofert" + +msgid "Next news item" +msgstr "Następna wiadomość" + +msgid "Previous news item" +msgstr "Poprzednia wiadomość" + +msgid "Pause news ticker" +msgstr "Wstrzymaj przewijanie paska informacyjnego" + +msgid "Play news ticker" +msgstr "Uruchom przewijanie paska informacyjnego" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-pt-pt.po b/modules/oe_theme_helper/translations/oe_theme_helper-pt-pt.po index f48ffb8ea..d6ad8b7e2 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-pt-pt.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-pt-pt.po @@ -635,3 +635,15 @@ msgstr "Em curso" msgid "Opening of tenders" msgstr "Abertura das propostas" + +msgid "Next news item" +msgstr "Próxima notícia" + +msgid "Previous news item" +msgstr "Notícia anterior" + +msgid "Pause news ticker" +msgstr "Pôr em pausa barra de notícias" + +msgid "Play news ticker" +msgstr "Fazer desfilar barra de notícias" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-ro.po b/modules/oe_theme_helper/translations/oe_theme_helper-ro.po index c84dd9741..5d9de2186 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-ro.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-ro.po @@ -635,3 +635,15 @@ msgstr "În curs" msgid "Opening of tenders" msgstr "Deschiderea ofertelor" + +msgid "Next news item" +msgstr "Știrea următoare" + +msgid "Previous news item" +msgstr "Știrea anterioară" + +msgid "Pause news ticker" +msgstr "Opriți caruselul de știri" + +msgid "Play news ticker" +msgstr "Porniți caruselul de știri" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-sk.po b/modules/oe_theme_helper/translations/oe_theme_helper-sk.po index fc76d5f93..62a86f60d 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-sk.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-sk.po @@ -635,3 +635,15 @@ msgstr "Prebiehajúce" msgid "Opening of tenders" msgstr "Otváranie ponúk" + +msgid "Next news item" +msgstr "Ďalšia aktuálna správa" + +msgid "Previous news item" +msgstr "Predošlá správa" + +msgid "Pause news ticker" +msgstr "Zastaviť pohyblivý riadok s aktualitami" + +msgid "Play news ticker" +msgstr "Prehrať pohyblivý riadok s aktualitami" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-sl.po b/modules/oe_theme_helper/translations/oe_theme_helper-sl.po index 9bcb3ae94..882cf5edd 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-sl.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-sl.po @@ -635,3 +635,15 @@ msgstr "V teku" msgid "Opening of tenders" msgstr "Odpiranje ponudb" + +msgid "Next news item" +msgstr "Naslednja novica" + +msgid "Previous news item" +msgstr "Prejšnja novica" + +msgid "Pause news ticker" +msgstr "Prekini tekoči napis z novicami" + +msgid "Play news ticker" +msgstr "Predvajaj tekoči napis z novicami" diff --git a/modules/oe_theme_helper/translations/oe_theme_helper-sv.po b/modules/oe_theme_helper/translations/oe_theme_helper-sv.po index 99d3099a6..d709b9b1c 100644 --- a/modules/oe_theme_helper/translations/oe_theme_helper-sv.po +++ b/modules/oe_theme_helper/translations/oe_theme_helper-sv.po @@ -635,3 +635,15 @@ msgstr "Pågående" msgid "Opening of tenders" msgstr "Öppnande av anbuden" + +msgid "Next news item" +msgstr "Nästa nyhet" + +msgid "Previous news item" +msgstr "Föregående nyhet" + +msgid "Pause news ticker" +msgstr "Pausa nyhetsrullningen" + +msgid "Play news ticker" +msgstr "Starta nyhetsrullningen" diff --git a/templates/patterns/news_ticker/pattern-news-ticker.html.twig b/templates/patterns/news_ticker/pattern-news-ticker.html.twig index bbad33b42..2e2eeb0dd 100644 --- a/templates/patterns/news_ticker/pattern-news-ticker.html.twig +++ b/templates/patterns/news_ticker/pattern-news-ticker.html.twig @@ -17,5 +17,9 @@ 'id': identifier|default(''), 'items': _items, 'counter_label': counter_label|default('of'), - 'icon_path': ecl_icon_path + 'icon_path': ecl_icon_path, + 'sr_previous': 'Previous news item'|t, + 'sr_next': 'Next news item'|t, + 'sr_pause': 'Pause news ticker'|t, + 'sr_play': 'Play news ticker'|t, } only %} diff --git a/tests/src/Kernel/fixtures/rendering.yml b/tests/src/Kernel/fixtures/rendering.yml index 5a7e03f38..62b339e98 100644 --- a/tests/src/Kernel/fixtures/rendering.yml +++ b/tests/src/Kernel/fixtures/rendering.yml @@ -3518,6 +3518,10 @@ svg.ecl-icon.ecl-icon--m.ecl-news-ticker__icon: '' div.ecl-news-ticker__counter span.ecl-news-ticker__counter--current: '1' div.ecl-news-ticker__counter span.ecl-news-ticker__counter--max: '6' + button.ecl-news-ticker__prev span.ecl-u-sr-only: 'Previous news item' + button.ecl-news-ticker__next span.ecl-u-sr-only: 'Next news item' + button.ecl-news-ticker__pause span.ecl-u-sr-only: 'Pause news ticker' + button.ecl-news-ticker__play span.ecl-u-sr-only: 'Play news ticker' - array: '#type': 'pattern' '#id': 'news_ticker'