angular / angular/components

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

オープン
#28,709 コメント 1 件 リアクション 1 件 担当者 1 名 @zarend が担当を希望しています GitHub で見る
Accessibility area: cdk/overlay area: material/dialog P2
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。