You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: