Skip to content

Commit

Permalink
EWPP-3592: Accessibility fix for news-ticker buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
nagyad authored and upchuk committed Sep 14, 2023
1 parent f7a97d5 commit 4fe57d8
Show file tree
Hide file tree
Showing 25 changed files with 285 additions and 1 deletion.
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 "Пускане на лентата с новини"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-da.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-de.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-el.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 "Εκκίνηση κυλιόμενων ειδήσεων"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-es.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-et.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-ga.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-hr.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-it.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-lt.po
Original file line number Diff line number Diff line change
Expand Up @@ -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ą"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-lv.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-mt.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-pt-pt.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-ro.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-sk.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-sl.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 12 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 5 additions & 1 deletion templates/patterns/news_ticker/pattern-news-ticker.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
4 changes: 4 additions & 0 deletions tests/src/Kernel/fixtures/rendering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3518,6 +3518,10 @@
svg.ecl-icon.ecl-icon--m.ecl-news-ticker__icon: '<use xlink:href="/themes/custom/oe_theme/dist/ec/images/icons/sprites/icons.svg#information"></use>'
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'
Expand Down

0 comments on commit 4fe57d8

Please sign in to comment.