-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(modal): place aria-hidden on sentinel nodes #15996
Conversation
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@tay1orjones looks like tests may need to be updated? |
@tw15egan I think I'm remembering now why we didn't do this before ... with the
While this approach might be allowable in our view, we can't ship something that's going to pop violations in consumer environments. Eventually the checker may be updated to handle this use case or provide an exception but for now I think we're blocked on this one. For now, the best way around this is via |
Testing some feedback from the Carbon Accessibility Guild to place aria-hidden on the sentinel nodes to ensure they're not read by screenreaders when using virtual cursor mode.
If this is successful,We've confirmed this does fix the issue, so we should port it to all other components that use sentinel nodes, which should fix #14203You can test this change on the modal story of the deploy preview.