Skip to content

Commit a4ce811

Browse files
scottaoharaspectranaut
authored andcommitted
Allow comboboxes to invoke menus
closes #2050 This PR simply adds `menu` to the paragraph of text that indicates what value needs to be used for the aria-haspopup attribute, if the popup is not a listbox: >authors MUST specify an aria-haspopup value of tree, grid, or dialog that corresponds to the role of its popup. I think some additional text could be written in the `menu` role definition to further acknowledge this new allowance. But I'll leave that open for discussion, rather than immediately start adding such text.
1 parent 638e8c5 commit a4ce811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2802,7 +2802,7 @@ <h2>Definition of Roles</h2>
28022802
</p>
28032803
<p>
28042804
Elements with the role <code>combobox</code> have an implicit <pref>aria-haspopup</pref> value of <code>listbox</code>. If the <code>combobox</code> popup element has a role other than
2805-
<rref>listbox</rref>, authors MUST specify an <pref>aria-haspopup</pref> value of <rref>tree</rref>, <rref>grid</rref>, or <rref>dialog</rref> that corresponds to the role of its popup.
2805+
<rref>listbox</rref>, authors MUST specify an <pref>aria-haspopup</pref> value of <rref>tree</rref>, <rref>grid</rref>, <rref>menu</rref> or <rref>dialog</rref> that corresponds to the role of its popup.
28062806
</p>
28072807
<p>
28082808
If the user interface includes an additional icon that allows the visibility of the popup to be controlled via pointer and touch events, authors SHOULD ensure that element has role

0 commit comments

Comments
 (0)