ionic-team / ionic-team/ionic-framework

bug: unable to customize attributes on ion-select-option

Aperta
#22,917 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
package: core type: bug
Lingua principale
TypeScript
Stelle
52.7k
Fork
13.3k
Merge medio
1g 15h
PR unite (30g)
51

Descrizione

Ionic version:
5.x

Current behavior:
Unable to set aria-label attribute on ion-select-option since ionic changes the ion-select element to custom markup before rendering.

Expected behavior:
We should be able to provide the aria-labels to ion-select-options to enhance a11y.

Please find the working repo [here](https://github.com/mastergogo/ion-repo-ion-select): on-page tab3.vue there is an example

Let me know if more info is needed.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.