Skip to content
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

Mismatch between Modal.dialog and hideSiblings parameters #389

Merged

Conversation

omniverse
Copy link
Contributor

Fixes the issue raised here: #240

The modal component contains refs to dialog and backdrop https://github.com/omniverse/react-overlays/blob/master/src/Modal.js#L309-L315
not root and backdrop as destructured in manageAriaHidden https://github.com/omniverse/react-overlays/blob/master/src/Modal.js#L309-L315

So the aria-hidden="true" attribute was getting applied to the dialog itself and breaking screen readers, accessibility features, etc.

@taion
Copy link
Member

taion commented Aug 27, 2019

Nice catch!

Is there any chance you could add a regression test here?

@omniverse
Copy link
Contributor Author

Nice catch!

Is there any chance you could add a regression test here?

Added

@jquense
Copy link
Member

jquense commented Sep 4, 2019

i don't understand how to read these CI checks...where is even the logs for CI?

@jquense jquense merged commit 202c96b into react-bootstrap:master Sep 4, 2019
@omniverse omniverse deleted the bugfix/aria-hidden-misapplied branch September 6, 2019 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants