-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(cdk/dialog): use inert to block content outside of dialog #25666
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
base: main
Are you sure you want to change the base?
Conversation
2d2eb16 to
a2128d4
Compare
|
Deployed dev-app to: https://ng-comp-dev--pr-25666-758588da5f5a0dae4da09ba558bf3e60-kk0pfpgo.web.app |
jelbourn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
a2128d4 to
758588d
Compare
|
I spent some time presubmitting this and I think it'll be tricky to land, because the automated a11y checking tools don't account for |
758588d to
1fcfe74
Compare
|
any luck the tool is now accounting now for |
1fcfe74 to
a9d4d0a
Compare
Currently we're setting `aria-hidden` on all elements outside of a dialog in order to prevent assistive technology from interacting with it. These changes switch to using the `inert` attribute when supported which resolves some long-standing issues like tabbing directly into the dialog from the address bar.
a9d4d0a to
9e1eeaa
Compare
Currently we're setting
aria-hiddenon all elements outside of a dialog in order to prevent assistive technology from interacting with it. These changes switch to using theinertattribute when supported which resolves some long-standing issues like tabbing directly into the dialog from the address bar.