Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow comboboxes to invoke menus #2416

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Jan 29, 2025

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.

Test, Documentation and Implementation tracking

Once this PR has been reviewed and has consensus from the working group, tests should be written and issues should be opened on browsers. Add N/A and check when not applicable.

  • "author MUST" tests:
  • "user agent MUST" tests:
  • Browser implementations (link to issue or commit):
    • WebKit:
    • Gecko:
    • Blink:
  • Does this need AT implementations?
  • Related APG Issue/PR:
  • MDN Issue/PR:

Preview | Diff

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.
Copy link

netlify bot commented Jan 29, 2025

Deploy Preview for wai-aria ready!

Name Link
🔨 Latest commit 56a823e
🔍 Latest deploy log https://app.netlify.com/sites/wai-aria/deploys/679aaa0c7b1fa600092044b0
😎 Deploy Preview https://deploy-preview-2416--wai-aria.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SummerJonesTR SummerJonesTR self-requested a review January 30, 2025 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider allowing combobox to open menus
1 participant