angular / angular/components

bug(mat-chip-grid): impossible to navigate to the input using VoiceOver commands when there are chips selected

Aperta
#30,316 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
area: material/chips P3
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il problema nell’esempio StackBlitz collegato con Angular Material 19.0.5 su macOS e VoiceOver, seguendo i passaggi elencati dopo aver aggiunto un chip. Leggi gli esempi mat-chip-grid e chip-autocomplete per confrontare il comportamento del focus; il lavoro è completato quando VO-Right Arrow può raggiungere l’input annidato mentre i chip rimangono selezionati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
accessibility, frontend
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.