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

fix: changed aria-hidden to false for slider arrows #654

Merged
merged 1 commit into from
May 10, 2024
Merged
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 RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
- Sistemato il flag Mostra tipologia bandi nel blocco elenco con variazione Bandi in Evidenza
- Tradotto il messaggio per Screen Reader del bottone per aprire e chiudere il menu in mobile.
- Menu dropdown si chiude correttamente quando il percorso è un sottosito con un menu diverso rispetto al sito principale
- Migliorata l'accessibilità del blocco Elenco nella variazione Slider.

## Versione 7.25.3 (07/03/2024)

Expand Down
4 changes: 2 additions & 2 deletions src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function NextArrow(props) {
onClick={handleClick}
title={intl.formatMessage(messages.successivo)}
aria-label={intl.formatMessage(messages.successivo)}
aria-hidden={true}
aria-hidden={false}
pnicolli marked this conversation as resolved.
Show resolved Hide resolved
onKeyDown={handleKeyboardUsers}
id="sliderNextArrow"
>
Expand Down Expand Up @@ -117,7 +117,7 @@ function PrevArrow(props) {
onClick={handleClick}
title={intl.formatMessage(messages.precedente)}
aria-label={intl.formatMessage(messages.precedente)}
aria-hidden={true}
aria-hidden={false}
pnicolli marked this conversation as resolved.
Show resolved Hide resolved
id="sliderPrevArrow"
onKeyDown={handleKeyboardUsers}
>
Expand Down
Loading