A results panel has the HTML inert attribute and also matches a rule setting interactivity:inert. Removing the rule does not reactivate the panel because the attribute remains. Removing the attribute while the CSS rule still matches also does not reactivate it. Only after both sources are cleared, and no modal rule makes it inert, do focus, hit testing and accessibility exposure return.
This lesson continues The Gold Standard of Websites, the Gold Standard of Education and the How X Works hub. Every subtree, focus move, hit test, selection and accessibility observation is an original synthetic fixture. The lesson does not use inertness as a visual hiding technique, promise identical assistive-technology output or replace disabled, hidden and modal semantics.
Record flat-tree ancestry, matching CSS rules, computed interactivity, inert attribute presence, modal or host-language state, focus sequence, hit testing, text selection, editing, find-in-page and accessibility-tree evidence, browser build and unavailable behavior.
The CSS Basic User Interface Module Level 4 defines the interactivity property and its inert behavior. The HTML Living Standard inert section defines the boolean inert attribute and flat-tree effect. CSS UI is a working draft and HTML is a living standard; implementation and accessibility observations are verified rather than assumed.
THE GOLD STANDARD · WEBSITES
The CSS property can force inertness; the HTML attribute is one host-language reason an element is inert
interactivity: inert makes an element and its flat-tree descendants inert through CSS. The HTML inert attribute makes the element inert by its presence under the HTML processing model. interactivity:auto does not promise to cancel host-language inertness; it defers to it. Therefore removing a CSS rule may leave the subtree inert because the attribute, modal state or another host-language condition still applies.
Fast route
Start with the decisive rule.
Start this route
Measurement route
Build the browser state and evidence ledger.
Start this route
Comparison route
Separate the nearest lookalikes.
Start this route
Transfer route
Change the context and retest.
Start this route
Reporting route
State limits and continue reading.
Start this route
Chapter contents
Open the full chapter index
- 1. Give the short source rule
- 2. Read the boolean attribute correctly
- 3. Resolve the CSS cascade
- 4. Use flat-tree descendants
- 5. Keep focus evidence explicit
- 6. Test pointer hit testing
- 7. Test text selection and editing
- 8. Check find-in-page with limits
- 9. Inspect accessibility exposure
- 10. Separate visual obscuring
- 11. Keep disabled controls distinct
- 12. Account for modal inertness
- 13. Test dynamic changes
- 14. Treat unsupported CSS honestly
- 15. Repair the aria shortcut
- 16. Choose the narrowest mechanism
- 17. Build a reproducible inertness ledger
- 18. Use CSS UI and HTML and continue
1. Give the short source rule
List every source that can make the node inert. CSS interactivity and the HTML attribute can both establish the result, while auto only defers to host-language decisions.
Original worked example. A panel remains inert after one of two sources is removed. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Clear the attribute first, then the rule. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Keep specified source and observed inert behavior separate. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep declared input, resolved platform state and final claim in separate fields so a matching screenshot cannot rewrite the mechanism.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
2. Read the boolean attribute correctly
HTML inert is true by presence, regardless of a string such as false. Removing the attribute changes state; assigning inert=”false” does not.
Original worked example. A section with inert=”false” remains inert. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. RemoveAttribute rather than changing its value. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record presence and DOM property state. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable means the required support or evidence was not established.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
3. Resolve the CSS cascade
interactivity is inherited and ordinary cascade rules determine the computed value. A descendant auto value cannot necessarily escape host-language inertness.
Original worked example. A wrapper declares inert and descendants inherit it. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Add auto on one child. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Inspect computed values along the flat tree. If this check fails, mark the claim unavailable and repair the method before continuing.
Change one consequential premise while keeping the rest fixed. Predict the new branch before inspecting it and preserve disagreement.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
4. Use flat-tree descendants
Inertness follows flat-tree relationships, which can differ from light-DOM ancestry around slots.
Original worked example. A slotted button falls inside an inert component subtree. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Move it to a slot outside the inert region. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record DOM and flat-tree parentage. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry one plausible alternative through the ledger, then choose the next observation that separates it from the leading account.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
5. Keep focus evidence explicit
Inert nodes generally cannot receive focus. A missing focus ring alone is insufficient because disabled, hidden or script redirection can produce the same symptom.
Original worked example. Tab skips an inert link and activeElement remains outside. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Remove inertness while keeping styling. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Log keyboard sequence and focus events. If this check fails, mark the claim unavailable and repair the method before continuing.
Name the relevant element, box, transition, scope, value or event. Similar visible results can come from different platform paths.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
6. Test pointer hit testing
CSS UI requires inert hit testing to behave as if pointer-events were none, but this does not mean the authored pointer-events value changed.
Original worked example. A click lands on the element behind an inert overlay. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Set pointer-events:auto explicitly. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record hit-test target and computed pointer-events. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive source, fixture, declarations, state, events, browser version and raw exceptions so another reader can reproduce the conclusion.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
7. Test text selection and editing
Inertness affects selection and editable behavior in addition to focus. These are separate observations, not one interaction flag.
Original worked example. Text cannot be selected and a contenteditable region does not edit. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Remove only contenteditable. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Capture selection ranges and input events. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep declared input, resolved platform state and final claim in separate fields so a matching screenshot cannot rewrite the mechanism.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
8. Check find-in-page with limits
The specification describes find-in-page handling while allowing user-agent override in some areas. Report observed behavior without promising universality.
Original worked example. A keyword in an inert panel is skipped in one build. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Repeat with user settings changed. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. State browser and override conditions. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable means the required support or evidence was not established.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
9. Inspect accessibility exposure
Inert nodes generally are not exposed to accessibility APIs. aria-hidden is a different mechanism and must not be inferred from the DOM alone.
Original worked example. The subtree disappears from the accessibility tree without an aria-hidden attribute. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Add aria-hidden after removing inertness. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Archive both DOM and accessibility snapshots. If this check fails, mark the claim unavailable and repair the method before continuing.
Change one consequential premise while keeping the rest fixed. Predict the new branch before inspecting it and preserve disagreement.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
10. Separate visual obscuring
Inert does not itself provide a universal visible appearance. Authors should make the inactive region understandable without relying on hidden interaction.
Original worked example. A loading overlay visually explains why the data panel is inert. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Remove the overlay but leave inertness. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Check sighted, keyboard and screen-reader understanding. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry one plausible alternative through the ledger, then choose the next observation that separates it from the leading account.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
11. Keep disabled controls distinct
disabled applies to supported form controls with form semantics; inert affects a subtree. Substituting one for the other changes scope and behavior.
Original worked example. A fieldset disabled differs from an inert section containing links and controls. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Move the input outside the fieldset but inside the inert section. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record form submission and focus behavior. If this check fails, mark the claim unavailable and repair the method before continuing.
Name the relevant element, box, transition, scope, value or event. Similar visible results can come from different platform paths.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
12. Account for modal inertness
A shown modal dialog can cause the rest of the document to be inert through the host language regardless of authored interactivity.
Original worked example. The page stays inert with computed auto while the modal is open. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Close the modal without editing CSS. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record dialog state and affected regions. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive source, fixture, declarations, state, events, browser version and raw exceptions so another reader can reproduce the conclusion.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
13. Test dynamic changes
Toggling attribute and style sources can move focus or leave application state inconsistent. Observe order rather than only the final tree.
Original worked example. A focused control becomes inert during loading. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Move focus before toggling inertness. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Log activeElement, events and announcements. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep declared input, resolved platform state and final claim in separate fields so a matching screenshot cannot rewrite the mechanism.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
14. Treat unsupported CSS honestly
A browser may support HTML inert while ignoring the CSS property. The attribute branch can still pass.
Original worked example. Attribute tests succeed; stylesheet parsing drops interactivity. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Use an attribute fallback for the product requirement. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record parse support separately. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable means the required support or evidence was not established.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
15. Repair the aria shortcut
ARIA states describe accessibility semantics but do not create the full inert interaction behavior. Likewise inertness should not be described as an ARIA state.
Original worked example. aria-disabled communicates state on a widget but does not suppress every descendant hit test. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Compare the same component with inert. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Preserve semantic and interaction ledgers. If this check fails, mark the claim unavailable and repair the method before continuing.
Change one consequential premise while keeping the rest fixed. Predict the new branch before inspecting it and preserve disagreement.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
16. Choose the narrowest mechanism
Use a form-control disabled state, subtree inertness or modal behavior according to the user job. Avoid making critical content unreachable without an active alternative.
Original worked example. A loading panel uses inert while a status message remains outside. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Put the status inside the inert subtree. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Check that every user can find the active path. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry one plausible alternative through the ledger, then choose the next observation that separates it from the leading account.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
17. Build a reproducible inertness ledger
Preserve source rules, attribute presence, modal state, flat tree, focus, hit tests, selection, editing, find and accessibility evidence.
Original worked example. The matrix covers CSS-only, attribute-only, both, modal and unsupported cases. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Repeat with slots and shadow DOM. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Version specs, browser and assistive technology. If this check fails, mark the claim unavailable and repair the method before continuing.
Name the relevant element, box, transition, scope, value or event. Similar visible results can come from different platform paths.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
18. Use CSS UI and HTML and continue
CSS UI owns the style property; HTML owns the attribute and host-language rules. Adjacent reading-order and ARIA lessons own different questions.
Original worked example. The route follows sources, flat tree, interaction effects and accessibility checks. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. When support changes, rerun every source combination. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Save exact source anchors and access date. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive source, fixture, declarations, state, events, browser version and raw exceptions so another reader can reproduce the conclusion.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order or geometry and the first missing obligation; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, document or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Grouped reading routes
Core route
Companion lessons
- Separating @starting-style Before-Change Values from transition-behavior: allow-discrete
- Separating the overlay Property from Top-Layer Membership
- Separating sibling-index() and sibling-count() Values from :nth-child() Selection
Related specialist lessons
Sources and further study
CSS Basic User Interface Module Level 4. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
CSS UI Level 4, interactivity. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
HTML Living Standard, inert attribute. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
The worked examples and transfer checks are developed here and state their own assumptions. The linked sources support the underlying web-platform mechanisms, state and method limits.
Return to contents · Return to The Gold Standard of Websites
