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

Phase out screenreader-trap and keyboard-trap in favor of inert polyfill? #152

Open
ianmcburnie opened this issue Mar 19, 2024 · 0 comments

Comments

@ianmcburnie
Copy link
Member

ianmcburnie commented Mar 19, 2024

The inert attribute is now available in modern browsers. It's probably time to start thinking about making the switch to using it (and a polyfill) instead of keyboard-trap and screenreader-trap

Inert attribute:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert

Polyfill:
https://github.com/WICG/inert

@ianmcburnie ianmcburnie changed the title Phase out screenreader-trap and keyboard-trap in favor of inert polypill? Phase out screenreader-trap and keyboard-trap in favor of inert polyfill? Mar 19, 2024
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

No branches or pull requests

1 participant