bug(mat-chip-grid): impossible to navigate to the input using VoiceOver commands when there are chips selected
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
When nesting input inside of the mat-chip-grid, it becomes inaccessible with the screenreader commands (when there are chips selected).
### Reproduction
StackBlitz link: https://stackblitz.com/run?file=src%2Fexample%2Fchips-input-example.html
Steps to reproduce:
1. Use material chips with input, where input is nested inside of mat-chip-grid.
2. Add at least one chip.
3. Start VoiceOver and focus the form field.
4. Navigate inside the form field using VoiceOver commands (e.g. VO-Right Arrow to move to the next item)
### Expected Behavior
It should be possible to focus the input element when pressing VO-Right Arrow inside the mat-chip-grid. Similar to how it is in chip-autocomplete example, when input is not inside the mat-chip-grid:
https://stackblitz.com/run?file=src%2Fexample%2Fchips-autocomplete-example.css
### Actual Behavior
Only chips and delete buttons can be focused using VoiceOver commands.
### Environment
- Angular: 19.0.5
- CDK/Material: 19.0.5
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): MacOS
Beitragsleitfaden
Rechercherichtung
Beginne damit, das Problem im verlinkten StackBlitz-Beispiel mit Angular Material 19.0.5 unter macOS und VoiceOver zu reproduzieren, indem du nach dem Hinzufügen eines Chips die aufgeführten Schritte befolgst. Lies die Beispiele mat-chip-grid und chip-autocomplete, um das Fokusverhalten zu vergleichen; fertig ist es, wenn VO-Right Arrow das verschachtelte input erreichen kann, während die Chips ausgewählt bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- accessibility, frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100