Skip to content

Commit ddc6426

Browse files
committed
add aria-checked to row as well
1 parent 310451b commit ddc6426

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.html

+7
Original file line numberDiff line numberDiff line change
@@ -6777,6 +6777,12 @@ <h5>Presentational Role Inheritance</h5>
67776777
<p>Rows contain <rref>cell</rref> or <rref>gridcell</rref> [=elements=], and thus serve to organize a <rref>table</rref>, <rref>grid</rref>, or <rref>treegrid</rref>.</p>
67786778
<p>While the row role can be used in a <rref>table</rref>, <rref>grid</rref>, or <rref>treegrid</rref>, the semantics of <sref>aria-expanded</sref>, <pref>aria-posinset</pref>, <pref>aria-setsize</pref>, and <pref>aria-level</pref> are only applicable to the hierarchical structure of an interactive tree grid. Therefore, authors MUST NOT apply <sref>aria-expanded</sref>, <pref>aria-posinset</pref>, <pref>aria-setsize</pref>, and <pref>aria-level</pref> to a <rref>row</rref> that descends from a <rref>table</rref> or <rref>grid</rref>, and user agents SHOULD NOT expose any of these four properties to assistive technologies unless the <rref>row</rref> descends from a <rref>treegrid</rref>.
67796779
</p>
6780+
<p>Authors SHOULD NOT specify both <sref>aria-selected</sref> and <sref>aria-checked</sref> on a single <rref>row</rref> element except in the extremely rare circumstances where all the following conditions are met:</p>
6781+
<ul>
6782+
<li>The meaning and purpose of <sref>aria-selected</sref> is different from the meaning and purpose of <sref>aria-checked</sref> in the user interface.</li>
6783+
<li>The user interface makes the meaning and purpose of each state apparent.</li>
6784+
<li>The user interface provides a separate method for controlling each state.</li>
6785+
</ul>
67806786
<p>Authors MUST ensure [=elements=] with <a>role</a> <code>row</code> are <a>accessibility children</a> of an element with the role <rref>table</rref>, <rref>grid</rref>, <rref>rowgroup</rref>, or <rref>treegrid</rref>.</p>
67816787
<p class="note" title="Usage of aria-disabled">While <sref>aria-disabled</sref> is currently supported on <rref>row</rref>, in a future version the working group plans to prohibit its on elements with role <rref>row</rref> except when the element is in the context of a <rref>grid</rref> or <rref>treegrid</rref>.</p>
67826788
</div>
@@ -6844,6 +6850,7 @@ <h5>Presentational Role Inheritance</h5>
68446850
<th class="role-properties-head" scope="row">Supported States and Properties:</th>
68456851
<td class="role-properties">
68466852
<ul>
6853+
<li><sref>aria-checked</sref></li>
68476854
<li><pref>aria-colindex</pref></li>
68486855
<li><sref>aria-expanded</sref></li>
68496856
<li><pref>aria-level</pref></li>

0 commit comments

Comments
 (0)