inert
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.
Learning resources on MDN
No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.Browser support
- 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
Surveys
- State of HTML 2024: interactivity/interactivity_features question
- State of HTML 2024: features/all_features question
- State of HTML 2023: reading_list/reading_list question
- State of HTML 2023: interactivity/interactivity_features question
- State of HTML 2023: features/all_features question
Usage (according to Chrome Platform Status)
~1.171% of page loads. More data at chromestatus.
Specifications
- HTML (#inert-subtrees), from HTML Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature