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
Closes#2140
Explicitly notes in second paragraph description for each of `menuitem`, `menuitemcheckbox` and `menuitemradio` that they are allowed in `menubar` as well as `menu`. Makes consistent with _Characteristics_ table for all 5 as well as final paragraph of description of first 3.
Copy file name to clipboardExpand all lines: index.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5214,7 +5214,7 @@ <h4>Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula</h4>
5214
5214
<rdef>menuitem</rdef>
5215
5215
<div class="role-description">
5216
5216
<p>An option in a set of choices contained by a <rref>menu</rref> or <rref>menubar</rref>.</p>
5217
-
<p>Authors MUST ensure [=elements=] with <a>role</a> <code>menuitem</code> are <a>accessibility children</a> of an element with role <rref>menu</rref>or an element with role <rref>group</rref> that is an <a>accessibility child</a> of an element with role <rref>menu</rref>.</p>
5217
+
<p>Authors MUST ensure [=elements=] with <a>role</a> <code>menuitem</code> are <a>accessibility children</a> of an element with role <rref>menu</rref>, <rref>menubar</rref>, or an element with role <rref>group</rref> that is an <a>accessibility child</a> of an element with role <rref>menu</rref> or <rref>menubar</rref>.</p>
5218
5218
<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 can be used to launch a sub-level menu, and authors SHOULD display a new sub-level menu when the menu item is activated.</p>
5219
5219
<p>In order to identify that they are related <a>widgets</a>, authors MUST ensure that menu items are <a>accessibility descendants</a> of 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>
5220
5220
</div>
@@ -5323,7 +5323,7 @@ <h4>Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula</h4>
5323
5323
<rdef>menuitemcheckbox</rdef>
5324
5324
<div class="role-description">
5325
5325
<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>
5326
-
<p>Authors MUST ensure [=elements=] with <a>role</a> <code>menuitemcheckbox</code> are <a>accessibility children</a> of an element with role <rref>menu</rref>or an element with role <rref>group</rref> that is the <a>accessibility child</a> of an element with role <rref>menu</rref>.</p>
5326
+
<p>Authors MUST ensure [=elements=] with <a>role</a> <code>menuitemcheckbox</code> are <a>accessibility children</a> of an element with role <rref>menu</rref>, <rref>menubar</rref>, or an element with role <rref>group</rref> that is an <a>accessibility child</a> of an element with role <rref>menu</rref> or <rref>menubar</rref>.</p>
5327
5327
<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>
5328
5328
<p>In order to identify that they are related <a>widgets</a>, authors MUST ensure that menu item checkboxes are the <a>accessibility descendants</a> of 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>
5329
5329
</div>
@@ -5423,7 +5423,7 @@ <h4>Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula</h4>
5423
5423
<rdef>menuitemradio</rdef>
5424
5424
<div class="role-description">
5425
5425
<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>
5426
-
<p>Authors MUST ensure [=elements=] with <a>role</a> <code>menuitemradio</code> are <a>accessibility children</a> of an element with role <rref>menu</rref>or of an element with role <rref>group</rref> that is the <a>accessibility child</a> of an element with role <rref>menu</rref>.</p>
5426
+
<p>Authors MUST ensure [=elements=] with <a>role</a> <code>menuitemradio</code> are <a>accessibility children</a> of an element with role <rref>menu</rref>, <rref>menubar</rref>, or an element with role <rref>group</rref> that is an <a>accessibility child</a> of an element with role <rref>menu</rref> or <rref>menubar</rref>.</p>
5427
5427
<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>
5428
5428
<!-- keep previous sentence synced with radiogroup, etc. -->
5429
5429
<p>In order to identify that they are related <a>widgets</a>, authors MUST ensure that menu item radios are <a>accessibility descendants</a> of an element with role <rref>menu</rref> or <rref>menubar</rref>.</p>
0 commit comments