Skip to content

Commit e240501

Browse files
committed
Add more to the Note about why the behavior is the way it is
1 parent 39dd639 commit e240501

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source

+8
Original file line numberDiff line numberDiff line change
@@ -79337,6 +79337,14 @@ interface <dfn interface>VisibilityStateEntry</dfn> : <span>PerformanceEntry</sp
7933779337
&lt;div style="interactivity:inert">
7933879338
&lt;dialog>&lt;/dialog>
7933979339
&lt;/div></code></pre>
79340+
79341+
<p>The reason that HTML "overrides" the <span data-x="css-interactivity">'interactivity'</span>
79342+
property in the case of modal dialogs is that accessibility technology requires modal dialogs to
79343+
be truly modal. Content outside of an open modal dialog should always be inert. For this reason,
79344+
the spec is designed in such a way that developers are unable to override modal dialog <span
79345+
data-x="css-interactivity">'interactivity'</span>, while still being able to override other
79346+
developer-controlled forms of interactivity such as the <code data-x="attr-inert">inert</code>
79347+
attribute.</p>
7934079348
</div>
7934179349

7934279350
<h4>The <dfn data-x="attr-inert"><code>inert</code></dfn> attribute</h4>

0 commit comments

Comments
 (0)