Intro to the inert attribute

・1 min read

A quick introduction to the inert attribute and how you can use it to trap focus within a modal.

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

Here are a few libraries I have built that make use of the wicg-inert polyfill:

Did you find this post useful? Show some love!
DISCUSSION
Classic DEV Post from Jul 5 '18

Coding Concepts - Reflection

Reflection, What you need to know.

Alex Carpenter
I’m a front-end developer focused on performance and accessibility.
Join dev.to

Coding is hard. Community is here.