angular / angular/components

bug(MatAutoComplete): mat-autocomplete doesn't always announce when the results have changed while using a screenreader

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

説明

#### Reproduction

Use the first example from https://material.angular.io/components/autocomplete/examples
Using NVDA or JAWS as the screen reader

Steps to reproduce:
1. Using the first example click the input (screen reader announces 1 of 3)
2. type in 't' (screen reader announces 1 of 2)
3. type in 'th' (scren reader announces 1 of 1)
4. type in 'tw' (screen reader announces nothing)
5. type in 'o' (screen reader announces nothing)


#### Expected Behavior
I would expect the screen reader to announce for step 4 that "two 1 of 1" is the only option available
and similar behaviour with step 5 where one should be the only option.

#### Actual Behavior
For steps 4 and 5 nothing is announced by the screen reader.

#### Environment

- Angular: 11.1.0
- CDK/Material: 11.1.0
- Browser(s): Firefox, Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
- Screenreader: JAWS, NVDA

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

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

評価

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

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

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