bug(Button toggle): Voice Over not read status pressed / not pressed after select and deselect
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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
Beitragsleitfaden
Rechercherichtung
Beginne mit dem offiziellen Beispiel für Button-Toggle mit Mehrfachauswahl unter https://material.angular.io/components/button-toggle/examples#button-toggle-mode und reproduziere das Problem mit VoiceOver. Vergleiche anschließend das Verhalten mit NVDA. Die Änderung ist abgeschlossen, wenn VoiceOver beim Auswählen und Abwählen eines Toggles die Zustände „gedrückt“ und „nicht gedrückt“ ansagt, ohne den Fokus zu verschieben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- accessibility, frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100