angular / angular/components

bug(material select): Accessibility iOS VoiceOver looses focus when selecting options

Abierto
#33,209 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Accessibility area: material/select gemini-triaged P3
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

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

WCAG issue.

Issue seen with iPhone and VoiceOver on the following versions and browsers
- Safari with angular material 20 and 22
- Chrome with angular material 21 and 22

The main issue is that after a double tap on the dropdown (action to select an element when voice over is enabled), when swiping between elements, the focus continues to move outside the select, instead of browsing each element in the select.

The issue is not reproducible on Mac, nor on a classic desktop, and is restricted to VoiceOver use on an iPhone.
The issue is not reproducible on Android/Talkback neither.

### Reproduction

Angular Material Example page: https://material.angular.dev/components/select/overview
StackBlitz link: https://stackblitz.com/run?file=src%2Fexample%2Fselect-reset-example.ts&startScript=start

Steps to reproduce:
1. activate VoiceOver on your iPhone/iPad device
2. Visit the angular material select menu example page
3. play with the select menus having options list that overlap other focusable DOM elements (another menu, a heading, etc...)

### Expected Behavior

Expected: The screen reader focus should go back to the menu where the option is selected.

### Actual Behavior

Actual: After selection is done in the menu, the screen reader focus is pointing to the element behind the chosen material-option.

### Environment

- Angular: 19, 20, 21, 22
- CDK/Material: select
- Browser(s): Safari/Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): iOS

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza reproduciendo el problema en la Angular Material select overview page o en el StackBlitz enlazado, usando iOS VoiceOver con opciones que se superponen a otros elementos enfocables. Compara la secuencia de enfoque después de seleccionar una opción en las versiones de Safari y Chrome indicadas; se considera completado cuando el foco del lector de pantalla vuelve al select menu y continúa por sus opciones.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
accessibility, frontend
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.