DEV Community 👩‍💻👨‍💻

Discussion on: Why can't we solve accessibility with a one line script tag?

Collapse
oenonono profile image
Junk • Edited on

What's the polyfill?

[inert] { pointer-events: none }
Enter fullscreen mode Exit fullscreen mode

Plus disabled and/or tabindex="-1"?

Collapse
link2twenty profile image
Andrew Bone

I use a JS one from WICG
github.com/WICG/inert