makeup-js icon indicating copy to clipboard operation
makeup-js copied to clipboard

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

Open ianmcburnie opened this issue 2 years ago • 0 comments

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 avatar Mar 19 '24 20:03 ianmcburnie