Inert elements
Newly available since 2023-04-11
The inert
HTML attribute marks an element and its descendants as non-interactive. Inert elements don't get focus or fire click
events.
To learn more, see
inert at MDN.
Compatibility
- Chrome 102 Released on 2022-05-24
- Chrome Android 102 Released on 2022-05-24
- Edge 102 Released on 2022-05-31
- Firefox 112 Released on 2023-04-11
- Firefox for Android 112 Released on 2023-04-11
- Safari 15.5 Released on 2022-05-16
- Safari on iOS 15.5 Released on 2022-05-16
Specifications
- HTML Standard (#inert-subtrees), from HTML Workstream (WHATWG).