8000 Updated the characteristics table of "caption" role (#1975) · w3c/aria@411bd50 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 411bd50

Browse files
Updated the characteristics table of "caption" role (#1975)
while reviewing the specs for the caption role, I've realised that the characteristics table, in particular the "Required Accessibility Parent Roles" row, is not fully reflecting the requirements listed above. I've updated the "Required Accessibility Parent Roles" table content, adding also "group" and "radiogroup". I've also sorted the list of "Required Accessibility Parent Roles" by alphabetical order (both in text and in table). Closes: #1974
1 parent dc19188 commit 411bd50

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

index.html

+5-3
Original file line numberDiff line numberDiff line change
@@ -1760,11 +1760,11 @@ <h2>Definition of Roles</h2>
17601760
<div class="role" id="caption">
17611761
<rdef>caption</rdef>
17621762
<div class="role-description">
1763-
<p>Visible content that names, or describes a <rref>group</rref>, <rref>figure</rref>, <rref>table</rref>, <rref>grid</rref>, <rref>radiogroup</rref>, or <rref>treegrid</rref>.</p>
1763+
<p>Visible content that names, or describes a <rref>figure</rref>, <rref>grid</rref>, <rref>group</rref>, <rref>radiogroup</rref>, <rref>table</rref> or <rref>treegrid</rref>.</p>
17641764
<p>When using <code>caption</code> authors SHOULD ensure:</p>
17651765
<ul>
1766-
<li>The <code>caption</code> is a descendant of a <rref>group</rref>, <rref>figure</rref>, <rref>grid</rref>, <rref>radiogroup</rref>, <rref>table</rref>, or <rref>treegrid</rref>.</li>
1767-
<li>The <code>caption</code> is the first non-<code>generic</code> descendant of a <rref>group</rref>, <rref>radiogroup</rref>, <rref>grid</rref>, <rref>table</rref>, or <rref>treegrid</rref>.</li>
1766+
<li>The <code>caption</code> is a descendant of a <rref>figure</rref>, <rref>grid</rref>, <rref>group</rref>, <rref>radiogroup</rref>, <rref>table</rref>, or <rref>treegrid</rref>.</li>
1767+
<li>The <code>caption</code> is the first non-<code>generic</code> descendant of a <rref>grid</rref>, <rref>group</rref>, <rref>radiogroup</rref>, <rref>table</rref> or <rref>treegrid</rref>.</li>
17681768
<li>The <code>caption</code> is the first or last non-<code>generic</code> descendant of a <rref>figure</rref>.</li>
17691769
</ul>
17701770
<p>If the <code>caption</code> represents an accessible name for its containing element, authors SHOULD specify <pref>aria-labelledby</pref> on the containing element to reference the element with role <code>caption</code>.</p>
@@ -1864,6 +1864,8 @@ <h2>Definition of Roles</h2>
18641864
<ul>
18651865
<li><rref>figure</rref></li>
18661866
<li><rref>grid</rref></li>
1867+
<li><rref>group</rref></li>
1868+
<li><rref>radiogroup</rref></li>
18671869
<li><rref>table</rref></li>
18681870
<li><rref>treegrid</rref></li>
18691871
</ul>

0 commit comments

Comments
 (0)
0