angular / angular/components

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

Abierto
#21,684 4 comentarios 0 reacciones 1 asignado Reclamado por @zarend Ver en GitHub
Accessibility area: material/autocomplete need a11y consult P3
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.