Skip to content

Commit

Permalink
add aria-checked to row as well
Browse files Browse the repository at this point in the history
  • Loading branch information
smhigley committed Dec 9, 2024
1 parent 310451b commit ddc6426
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6777,6 +6777,12 @@ <h5>Presentational Role Inheritance</h5>
<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>
<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>.
</p>
<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>
<ul>
<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>
<li>The user interface makes the meaning and purpose of each state apparent.</li>
<li>The user interface provides a separate method for controlling each state.</li>
</ul>
<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>
<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>
</div>
Expand Down Expand Up @@ -6844,6 +6850,7 @@ <h5>Presentational Role Inheritance</h5>
<th class="role-properties-head" scope="row">Supported States and Properties:</th>
<td class="role-properties">
<ul>
<li><sref>aria-checked</sref></li>
<li><pref>aria-colindex</pref></li>
<li><sref>aria-expanded</sref></li>
<li><pref>aria-level</pref></li>
Expand Down

0 comments on commit ddc6426

Please sign in to comment.