GitHub

@@ -5526,6 +5526,7 @@ <h4>Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula</h4>

55265526

<rdef>menuitem</rdef>

55275527

<div class="role-description">

55285528

<p>An option in a set of choices contained by a <rref>menu</rref> or <rref>menubar</rref>.</p>

5529+

<p>Authors MUST ensure <a>elements</a> with <a>role</a> <code>menuitem</code> are contained in, or <a>owned</a> by, an element with role <rref>menu</rref> or an element with role <rref>group</rref> that is contained in, or owned by, an element with role <rref>menu</rref>.</p>

55295530

<p>Authors MAY disable a menu item with the <sref>aria-disabled</sref> attribute. If the menu item has its <pref>aria-haspopup</pref> attribute set to <code>true</code>, it indicates that the menu item may be used to launch a sub-level menu, and authors SHOULD display a new sub-level menu when the menu item is activated.</p>

55305531

<p>In order to identify that they are related <a>widgets</a>, authors MUST ensure that menu items are <a>owned</a> by an element with role <rref>menu</rref> or <rref>menubar</rref>. Authors MAY separate menu items into sets by use of a <rref>separator</rref> or an element with an equivalent role from the native markup language.</p>

55315532

</div>

@@ -5634,6 +5635,7 @@ <h4>Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula</h4>

56345635

<rdef>menuitemcheckbox</rdef>

56355636

<div class="role-description">

56365637

<p>A <rref>menuitem</rref> with a checkable state whose possible <span>values</span> are <code>true</code>, <code>false</code>, or <code>mixed</code>.</p>

5638+

<p>Authors MUST ensure <a>elements</a> with <a>role</a> <code>menuitemcheckbox</code> are contained in, or <a>owned</a> by, an element with role <rref>menu</rref> or an element with role <rref>group</rref> that is contained in, or owned by, an element with role <rref>menu</rref>.</p>

56375639

<p>The <sref>aria-checked</sref> <a>attribute</a> of a <code>menuitemcheckbox</code> indicates whether the menu item is checked (<code>true</code>), unchecked (<code>false</code>), or represents a sub-level menu of other menu items that have a mixture of checked and unchecked values (<code>mixed</code>).</p>

56385640

<p>In order to identify that they are related <a>widgets</a>, authors MUST ensure that menu item checkboxes are <a>owned</a> by an element with role <rref>menu</rref> or <rref>menubar</rref>. Authors MAY separate menu items into sets by use of a <rref>separator</rref> or an element with an equivalent role from the native markup language.</p>

56395641

</div>

@@ -5733,6 +5735,7 @@ <h4>Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula</h4>

57335735

<rdef>menuitemradio</rdef>

57345736

<div class="role-description">

57355737

<p>A checkable <rref>menuitem</rref> in a set of elements with the same role, only one of which can be checked at a time.</p>

5738+

<p>Authors MUST ensure <a>elements</a> with <a>role</a> <code>menuitemradio</code> are contained in, or <a>owned</a> by, an element with role <rref>menu</rref> or an element with role <rref>group</rref> that is contained in, or owned by, an element with role <rref>menu</rref>.</p>

57365739

<p>Authors SHOULD enforce that only one <code>menuitemradio</code> in a group can be checked at the same time. When one item in the group is checked, the previously checked item becomes unchecked (its <sref>aria-checked</sref> <a>attribute</a> becomes <code>false</code>).</p>

57375740

<!-- keep previous sentence synced with radiogroup, etc. -->

57385741

<p>In order to identify that they are related <a>widgets</a>, authors MUST ensure that menu item radios are <a>owned</a> by an element with role <rref>menu</rref> or <rref>menubar</rref>, or by a role <rref>group</rref> which itself is <a>owned</a> by an element with role <rref>menu</rref> or <rref>menubar</rref>.</p>

Read the original on github.com ↗