Explain it in 60 seconds
The inert attribute and modal behaviour
Frontend Engineering · Accessibility · Experienced
What does the inert attribute do, and how does it help with modal interfaces?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Makes subtree non-focusable, non-interactive, hidden from AT.
- Replaces manual focus traps/aria-hidden juggling.
- Native dialog showModal applies inertness.
- Use for off-screen menus, background content.
- Browser support now broad.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.