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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapsed content is still visible to screen readers #12
Comments
Hi @bobwise Thanks for the awesome bug recreation steps. I'll be honest...I forget why I chose not to use That being said, I've got three thoughts on how to solve this. Could you help me through this?
Thoughts? |
Hey @BrentonCozby - I suspect setting I think we may actually be able to get the same result for screen readers by adding Something like this:
I just tested this out locally and at first glance it looks like it works. |
What you said about Anyway, good find on aria-hidden. I don't see this breaking anything, so I'll create a PR for it. Thanks for the collaboration! |
Thanks @BrentonCozby! I'll check it out |
I did some testing and this is working great. Thanks again @BrentonCozby! |
Hello! 馃憢
We're using
dom-slider
in @sparkdesignsystem and we're running into an accessibility issue. Becausedom-slider
does not usedisplay: none
when hiding the content, the content is still available to screen readers when it should be hidden. This is only the case after the contents are hidden bydom-slider
; you may need to expand and then collapse a component to see this issue in action.Steps to Reproduce using VoiceOver on macOS
The text was updated successfully, but these errors were encountered: