ionic-team / ionic-team/ionic-framework

bug: Unintended Voiceover Output in Default ion-select Popup

Abierto
#29,894 0 comentarios 0 reacciones 0 asignados Ver en GitHub
triage
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

v8.x

### Current Behavior

Toggling between two selected options in the default ion-select popup (md or ios mode) results in unintended voiceover output (iOs 16 and 17 physical devices)

Steps to Recreate
1). With voiceover activated on a physical iOs device, click to open the Test ion-select.
2). Select (double tap) any option, like Yellow.
3). Select another option, like Red. Notice that voiceover outputs "Yellow, Red", instead of just "Red".
4). Select "Yellow" again. Voiceover outputs "Yellow, Red", instead of just "Yellow".

### Expected Behavior

Voiceover should output only the selected ion-option text.

### Steps to Reproduce

Steps to Recreate
1). With voiceover on, click to open the Test ion-select.
2). Select any option, like Yellow.
3). Select another option, like Red. Notice that voiceover outputs "Yellow, Red", instead of just "Red".
4). Select "Yellow" again. Voiceover outputs "Yellow, Red", instead of just "Yellow".

### Code Reproduction URL

https://github.com/jwburnside/ion-select-test/tree/main

### Ionic Info

Ionic:

Ionic CLI : 7.2.0 (/Users/j/.nvm/versions/node/v18.20.2/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.3.1
@angular-devkit/build-angular : 18.2.6
@angular-devkit/schematics : 18.2.6
@angular/cli : 18.2.6
@ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 6.1.2
@capacitor/android : not installed
@capacitor/core : 6.1.2
@capacitor/ios : 6.1.2

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v18.20.2 (/Users/j/.nvm/versions/node/v18.20.2/bin/node)
npm : 10.5.0
OS : macOS Unknown

### Additional Information
Tested in iOs 16x and iOs 17x physical devices. I have not tested on Android. Reproduction of the bug is attached below.

https://github.com/user-attachments/assets/d04c1aa7-6248-419e-98e3-00bfa7db6fbf

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.