bug(Button toggle): Voice Over not read status pressed / not pressed after select and deselect
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### Is this a regression?
- No.
### Description
Voice Over does not read the state of the button as pressed when selected or not pressed when deselected. It only reads 'selected' if you change focus and return to the selected button. The NVDA screen reader does not have this problem, it reads the states correctly.
### Reproduction
Steps to reproduce:
1. Go to official multiple selection example: https://material.angular.io/components/button-toggle/examples#button-toggle-mode
2. Focus those buttons with VO open
3. States presses/ not pressed not announced when toggle buttons
### Expected Behavior
VO should read pressed/ not pressed when button toggled like NVDA do this.
### Actual Behavior
Voice Over does not read the state of the button as pressed when selected or not pressed when deselected.
### Environment
- Angular: 19.2.7
- CDK/Material: 19.2.10
- Browser(s): Chrome, Edge, FF, Safari
- Operating System (e.g. Windows, macOS, Ubuntu): MacOS 15.4.1
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con l'esempio ufficiale di button-toggle a selezione multipla disponibile all'indirizzo https://material.angular.io/components/button-toggle/examples#button-toggle-mode e riproduci il problema con VoiceOver, quindi confronta il comportamento con NVDA. La modifica è completata quando la selezione e la deselezione di un toggle fanno sì che VoiceOver annunci gli stati premuto e non premuto senza spostare il focus.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- accessibility, frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100