inert
Limited availability
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
Browser support
- Chrome 124 Released on 2024-04-16
- Chrome Android 124 Released on 2024-04-16
- Edge 124 Released on 2024-04-18
- Firefox 120 Released on 2023-11-21
- Firefox for Android 120 Released on 2023-11-21
- Safari ❌ See webkit.org/b/269909
- Safari on iOS ❌ See webkit.org/b/269909
Baseline availability blocked since April 2024 by Safari (12 months)
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
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