angular / angular/components

bug(mat-select): Talkback cannot navigate long dropdowns

Offen
#32,628 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Accessibility area: material/select P3
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 navigating through a mat-select element using Talkback on an Android mobile device, dropdowns with many options cause the page to not maintain focus and result in major jittering and page UI issues. This is not the case with a list of small options. This may be partially a mat-option issue as well.

### Reproduction

StackBlitz link:
Steps to reproduce:
1. view page with Talkback on Android
2. attempt to move through the list (note the jittering and incorrectly moving content)

### Expected Behavior

Swiping left and right should provide consistent navigation without large UI jumps and page jittering. The element that is being focused should be indicated to the user.

### Actual Behavior

Swipping left and right with standard mobile screen reader navigation on long dropdowns results in UI reloading errors and focus issues. Occasionally, the first or last few elements will function normally but issues occur at the midpoints of these lists.

Looking at other UIs that have a similar element the Multiple Search Selection "state" field [here](https://semantic-ui.com/modules/dropdown.html) seems very good, UI focus is maintained and there are no large reloading jumps when navigating. Though this is an arbatray dropdown example, and I am sure there are other ones that could be identified.

### Environment

- Angular: 21.0.6
- CDK/Material: 20.2.9
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Android

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit den mat-select- und mat-option-Einstiegspunkten und reproduziere das Problem in Chrome auf Android mit TalkBack unter Verwendung einer langen Liste von Optionen. Als abgeschlossen gilt, wenn die Navigation nach links/rechts den Fokus auf dem vorgesehenen Element hält, große Sprünge oder Ruckeln in der UI vermeidet und die fokussierte Option konsistent anzeigt.

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
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.