Skip to content

Commit 65a26ed

Browse files
committed
Add a should (with explanatory note) about keeping related elements together.
1 parent 0c64396 commit 65a26ed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59966,6 +59966,12 @@ interface <dfn interface>HTMLDetailsElement</dfn> : <span>HTMLElement</span> {
5996659966
data-x="attr-details-open">open</code> attributes in the markup. This requirement on authors
5996759967
forbids such misleading markup.</p>
5996859968

59969+
<p>Documents that use the <code data-x="attr-details-name">name</code> attribute to group multiple
59970+
related <code>details</code> elements should keep those related elements together in a containing
59971+
element (such as a <code>section</code> element).</p>
59972+
59973+
<p class="note">Keeping related elements together can be important for accessibility.</p>
59974+
5996959975
<p>The <dfn element-attr for="details"><code data-x="attr-details-open">open</code></dfn> content
5997059976
attribute is a <span>boolean attribute</span>. If present, it indicates that both the summary and
5997159977
the additional information is to be shown to the user. If the attribute is absent, only the

0 commit comments

Comments
 (0)