Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
The HTMLElement property inert is a boolean value that, when present, makes the browser ignore user input events for the element, including focus events and events from assistive technologies. The browser may also ignore page search and text selection in the element. 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.
Last updated on : 2022-07-01
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
HTMLElement API: inert on IE is not supported on any IE versions.
HTMLElement API: inert on Edge is not supported on any Edge versions.
HTMLElement API: inert on Firefox is not supported on any Firefox versions.
HTMLElement API: inert on Chrome is not supported on any Chrome versions.
HTMLElement API: inert on Safari is not supported on any Safari versions.
HTMLElement API: inert on Opera is not supported on any Opera versions.
HTMLElement API: inert on Safari on iOS is not supported on any Safari on iOS versions.
HTMLElement API: inert on Android Browser is not supported on any Android Browser versions.
HTMLElement API: inert on Opera Mobile is not supported on any Opera Mobile versions.
HTMLElement API: inert on Chrome for Android is not supported on any Chrome for Android versions.
HTMLElement API: inert on Firefox for Android is not supported on any Firefox for Android versions.
HTMLElement API: inert on Samsung Internet is not supported on any Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:HTMLElement API: inert shows a browser compatibility score of 0. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for HTMLElement API: inert & more
Test your website for HTMLElement API: inert and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?