The inert attribute is a boolean attribute that indicates, by its presence, that the element and all its shadow-including descendants is to be made inert. 6.2.1 The inert attribute
Many forms of assistive technology use keyboard navigation to understand and take action on screen content. One way of navigating is via the Tab key. You
The HTMLElement property inert is a Boolean, when present, may make the browser “ignore” the element from assistive technologies, page search and text selection. This can be useful when building UIs such as modals where you would want to “trap” the focus inside the modal when it’s visible.
Polyfill for the inert attribute and property. Contribute to WICG/inert development by creating an account on GitHub.
<!-- ... -->