Fix: ripristina semantica liste su Safari/VO (BI2): add role="list"#1751
Draft
Fupete wants to merge 4 commits into
Draft
Fix: ripristina semantica liste su Safari/VO (BI2): add role="list"#1751Fupete wants to merge 4 commits into
BI2): add role="list"#1751Fupete wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 tasks
BI2)BI2) - Alternativa
BI2) - AlternativaBI2) add role="list"
BI2) add role="list"BI2): add role="list"
1 task
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Fupete
commented
Apr 24, 2026
Co-authored-by: Daniele T. <Fupete@users.noreply.github.com>
zetareticoli
approved these changes
Apr 27, 2026
Member
|
@Fupete dobbiamo riportare anche su |
Contributor
Author
|
@zetareticoli allo stato dell'arte no. Dovremo capire come procedere, direi di parlarne agli a11y days, vedi commento: #1692 (comment) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cosa
Fix #1692 (alternativa alla PR #1743)
Questa PR implementa una soluzione alternativa a quella proposta da @deodorhunter (PR #1743:
font-size: 0sulli::marker, rimuovendolist-style-type: none) per quanto riguarda BSI v2.Questa soluzione aggiunge
role="list"agli elementi<ul>che non sono contenuti in elementi<nav>, come da indicazioni MDN https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/list-style#accessibility.Dobbiamo fare review con calma in tutte le combinazioni di OS/Browser/SR in tutti i componenti i cui markup sono stati toccati direttamente (vedi tab "Files changed"). Bisogna verificare resa e testarne funzionamento prima di integrare questa soluzione.
Dovremo poi se funziona riportare la soluzione sul ramo 3.x.
Da evidenziare che risulta una breaking change di tutti i componenti toccati dalla PR, da documentare in caso come tale.
Da verificare inoltre se serve aggiungere contenuti in alcuni dei callout Accessibilità dei diversi componenti.
Perché
A causa di un comportamento noto di WebKit (introdotto nel 2020), l'applicazione di
list-style-type: none;rimuove la natura di "lista" per le tecnologie assistive. Di conseguenza, su Safari + VoiceOver (macOS/iOS), le liste non vengono annunciate come tali e gli item vengono letti in sequenza senza indicare il conteggio o la posizione.Altro
Seppur preferirei non toccare il markup e trovare una soluzione solo
scsscome quella della PR #1743, dai primi test questo fix mi pare molto più solido e robusto in tutte le situazioni e combinazioni.Checklist