GitHub

Original file line numberDiff line numberDiff line change

@@ -6029,8 +6029,13 @@ <h5>Note regarding the ARIA 1.1 <code>none</code> role.</h5>

60296029

Otherwise, if a user agent provides an implicit <sref>aria-selected</sref> value for an <rref>option</rref>, the value SHOULD be <code>false</code>.

60306030

</p>

60316031

<p>

6032-

Authors MAY indicate selection for <rref>option</rref> elements using either <sref>aria-selected</sref> or <sref>aria-checked</sref>.

6033-

Some user interfaces indicate selection with <sref>aria-selected</sref> in single-select list boxes and with <sref>aria-checked</sref> in multi-select list boxes.

6032+

Authors SHOULD indicate selection for <rref>option</rref> elements using one of the following:

6033+

</p>

6034+

<ul>

6035+

<li>An <sref>aria-selected</sref> value of <code>true</code> on the selected option within a single-select <rref>listbox</rref>, and optionally <sref>aria-selected</sref> values of <code>false</code> on unselected options.</li>

6036+

<li>Either <sref>aria-selected</sref> or <sref>aria-checked</sref> on all options within a multi-select <rref>listbox</rref>, with a value of <code>true</code> on selected options, and a value of <code>false</code> on unselected options.</li>

6037+

</ul>

6038+

<p>

60346039

Authors SHOULD NOT specify both <sref>aria-selected</sref> and <sref>aria-checked</sref> on <rref>option</rref> elements contained by the same <rref>listbox</rref> except in the extremely rare circumstances where all the following conditions are met:

60356040

</p>

60366041

<ul>

Read the original on github.com ↗