Open mastergogo opened 3 years ago
Thanks for the issue. The problem here is that ion-select-option
is not actually rendered in your action sheet when opening ion-select
, so anything you provide on ion-select-option
will not be passed through other than the defined props.
Thanks @liamdebeasi for responding, is there any way to give aria-label to ion-select-options?
There is no workaround at the moment.
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: on-page tab3.vue there is an example
Let me know if more info is needed.