-
Notifications
You must be signed in to change notification settings - Fork 218
Open
Description
Describe the bug
"Applying the aria-modal property to the dialog element replaces the technique of using aria-hidden on the background for informing assistive technologies that content outside a dialog is inert."
https://www.w3.org/TR/wai-aria-practices-1.1/examples/dialog-modal/dialog.html#rps_label
To Reproduce
- Go to https://react-bootstrap.github.io/react-overlays/api/Modal
- Click onOpen Modal
aria-hidden
is added to the background content withid="___gatsby"
Expected behavior
aria-hidden
should not be added to the background content with id="___gatsby"
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information)
- Operating System: [macOS]
- Browser, Version [Chrome 90]
- react-overlays Version [Current on the docs website]
Metadata
Metadata
Assignees
Labels
No labels