Replies: 1 comment
-
Hey @khargs yours are absolutely good points! Thanks for your effort investigating this, I think your proposed change makes sense. Addressing some of these accessibility issues require a breaking change and are planned for the next major version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! First time posting here, sorry if this has been mentioned before (I couldn't find any issue/discussion related :P )
As the title says, I've been doing some accessibility tests with the library (awesome work, btw!) and I spotted some issues that I would like to discuss and see if it's something that can be looked into.
I used the example calendars provided in the site and a couple of screen readers: VoiceOver and NVDA. I've also tested the behaviours in Firefox and Chrome. This is what I found:
VoiceOver:
never announces anything besides the date (not sure this has anything to do with the library, to be honest).
NVDA:
I've also tried doing some experiments and it seems that these issues could be solved (or at least mitigated) with some minor changes:
Not removing the attribute
aria-selected
when an element is not selected, and setting it to false instead:aria-selected=undefined (default)
is read as The element is not selectable https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected#valueshttps://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-multiselectable#example
adding the attribute
aria-multiselectable="true"
to the table when we havemode="multiple"
So that's what I've found, thanks for your attention!
Beta Was this translation helpful? Give feedback.
All reactions