angular / angular/components

bug(MatSelect): MatSelect in a CdkOverlay panel is not accessible to screen readers

Ouverte
#28,709 1 commentaire 1 réaction 1 personne assignée Réclamée par @zarend Voir sur GitHub
Accessibility area: cdk/overlay area: material/dialog P2
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

Description

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

Using a screenreader to interact with a MatSelect dropdown inside an overlay panel prevents it from reading out the options

### Reproduction

StackBlitz link: https://stackblitz.com/edit/bqqfav-gaxbdf
Steps to reproduce:
1. Active VoiceOver or other screen reader
2. Using a keyboard, click on the 'Launch dialog' button
3. Using a keyboard, navigate to the select and attempt to read the options

image

### Expected Behavior

VoiceOver should read out the options, much like it does when interacting with the examples at https://material.angular.io/components/select/examples

### Actual Behavior

VoiceOver does not read out the options. It only reads "expanded, completion selected". Pressing ctrl+option+space causes it to read "confirm Favorite pet, list box pop-up, Menu popup combobox".

### Environment

- Angular: 17.2.0
- Browser(s): Google Chrome
- Operating System: macOS
- Screen reader: VoiceOver

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.