angular / angular/components

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

Đang mở
#21,684 4 bình luận 0 reaction 1 người được giao Được @zarend nhận Xem trên GitHub
Accessibility area: material/autocomplete need a11y consult P3
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.