From a4ce8118be580ce93323d78f92aea2f13660fbff Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Wed, 29 Jan 2025 17:21:49 -0500 Subject: [PATCH 1/3] 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. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 695edd6e4..6041acb31 100644 --- a/index.html +++ b/index.html @@ -2802,7 +2802,7 @@

Definition of Roles

Elements with the role combobox have an implicit aria-haspopup value of listbox. If the combobox popup element has a role other than - listbox, authors MUST specify an aria-haspopup value of tree, grid, or dialog that corresponds to the role of its popup. + listbox, authors MUST specify an aria-haspopup value of tree, grid, menu or dialog that corresponds to the role of its popup.

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 From b21d415addb115f75cfde9601e1e223e34bad4c1 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Fri, 31 Jan 2025 19:13:51 -0500 Subject: [PATCH 2/3] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 6041acb31..b6f6e3c37 100644 --- a/index.html +++ b/index.html @@ -2802,7 +2802,7 @@

Definition of Roles

Elements with the role combobox have an implicit aria-haspopup value of listbox. If the combobox popup element has a role other than - listbox, authors MUST specify an aria-haspopup value of tree, grid, menu or dialog that corresponds to the role of its popup. + listbox, authors MUST specify an aria-haspopup value of tree, grid, menu, or dialog that corresponds to the role of its popup.

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 From 0c7ae598ad923cfa5de9b91b73d6d43c522f6bb8 Mon Sep 17 00:00:00 2001 From: pkra Date: Fri, 7 Mar 2025 17:04:54 +0000 Subject: [PATCH 3/3] chore: prettier --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index b6f6e3c37..54b7ac6f3 100644 --- a/index.html +++ b/index.html @@ -2802,7 +2802,8 @@

Definition of Roles

Elements with the role combobox have an implicit aria-haspopup value of listbox. If the combobox popup element has a role other than - listbox, authors MUST specify an aria-haspopup value of tree, grid, menu, or dialog that corresponds to the role of its popup. + listbox, authors MUST specify an aria-haspopup value of tree, grid, menu, or dialog that corresponds to the + role of its popup.

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