You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardexpand all lines: index.html
+5-3
Original file line number
Diff line number
Diff line change
@@ -1760,11 +1760,11 @@ <h2>Definition of Roles</h2>
1760
1760
<div class="role" id="caption">
1761
1761
<rdef>caption</rdef>
1762
1762
<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>
1764
1764
<p>When using <code>caption</code> authors SHOULD ensure:</p>
1765
1765
<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>
1768
1768
<li>The <code>caption</code> is the first or last non-<code>generic</code> descendant of a <rref>figure</rref>.</li>
1769
1769
</ul>
1770
1770
<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>
0 commit comments