Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aria label for clearInput applied to wrong element #942

Closed
alessandromontesanti opened this issue Jul 16, 2024 · 0 comments
Closed

Aria label for clearInput applied to wrong element #942

alessandromontesanti opened this issue Jul 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@alessandromontesanti
Copy link

alessandromontesanti commented Jul 16, 2024

Now that the X button is exposed to screenreaders, I've tried to set the aria label for the clearInput element (through the aria-labels prop) but I've noticed that such label is applied to the element containing the calendar icon, not the clear button, thus not being announced by VoiceOver on Mac/iOS.
I've also noticed that the aria label for the calendarIcon seems to be useless, because is applied to the svg element, which has aria-hidden set to true.

@alessandromontesanti alessandromontesanti added awaiting triage The issue is not reviewed by the maintainers bug Something isn't working labels Jul 16, 2024
@Jasenkoo Jasenkoo removed the awaiting triage The issue is not reviewed by the maintainers label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants