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(cdk/dialog): use inert to block content outside of dialog #25666
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 |
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 |
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.
758588d
to
1fcfe74
Compare
any luck the tool is now accounting now for |
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 theinert
attribute when supported which resolves some long-standing issues like tabbing directly into the dialog from the address bar.