-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feature(date-picker): added aria-labels to year and month select elem… #2636
Conversation
@RonnBlack based on the discussion in #2543 it doesn't seem like aria labels alone are enough... |
Thanks for pointing out the discussion. I hadn't seen this. |
To be frank we are still unsure if adding this property is the right thing to do as it will have visual impact. We need more solid testing with different screen readers. |
I added titles to the select elements and tested in Chrome, Firefox, and Edge. I saw no display issues on Windows 10 or Mac OS High Sierra (10.13.6). You mentioned that there would be visual impact... do you know of something specific? I also tested with Voice Over on Mac and Narrator on Windows and the drop downs seemed to behave as I would expect. It looks like the pull request shows the additional changes I made. If that isn't the case let me know. |
I think @pkozlowski-opensource was mentioning the fact that browsers add a native native yellow tooltip on elements with |
Yes the hover behavior is there but the next and previous month buttons also have that behavior. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It actually doesn't shock me to have titles on select boxes and we already have them on previous/next
arrows.
Thanks, @RonnBlack !
…ents
Before submitting a pull request, please make sure you have at least performed the following: