angular / angular/components

bug(mat-stepper): on iOS device (iphone 15, iOS 18.5), any label or input field in stepper panel gets announced with 'tab' suffix

Abierto
#31,559 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Accessibility area: cdk/stepper area: material/stepper ios P3 safari
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

unknown

### Description

Hi Team,
We are observing one accessibility issue for mat-stepper on iOS device. The mat-stepper when used on android device or an windows then announces labels correctly. But when it is opened on iOS device, then screen reader read every field in tab panel with suffix 'tab'. Like in provided example for tabpanel in first step, screen reader reads like 'first step, last step tab' then 'next tab'. It doesn't announce 'next button' instead it announce all the elements in tabpanel with suffix tab.

### Reproduction

StackBlitz link: https://stackblitz.com/edit/2webe4ha?file=package.json
Steps to reproduce:
1. Open mat-stepper example on iOS device
2. listen to screen reader announcing the page contents
3. for first step it should announce next button as 'button next' but it announces as 'next tab'

### Expected Behavior

Fields should be properly announced when they are inside mat-stepper panel like for button it should read as 'next button' .

### Actual Behavior

Fields inside mat-stepper panel are getting announced with 'tab' suffix like for next button, it is reading as 'next tab'.

### Environment

- Angular: v20.1.0
- CDK/Material: v20.1.0
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu): iOS device

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con la reproducción vinculada de StackBlitz e inspecciona el ejemplo de mat-stepper usando Angular/CDK Material v20.1.0 en un dispositivo iOS con el lector de pantalla activado. Compara los anuncios de las etiquetas, los campos de entrada y el botón Next del panel del stepper con el comportamiento en Android o Windows. Se considera completado cuando los controles del panel se anuncian con sus roles correctos, en lugar de con el sufijo “tab”.

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
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.