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

[popover2] a11y(MenuItem2): fix role structure when hasSubmenu #5934

Conversation

bvandercar-vt
Copy link
Contributor

Fixes #0000

Checklist

  • [N/A] Includes tests
  • [N/A] Update documentation

Changes proposed in this pull request:

Fix role structure for when MenuItem has submenu-- the role="menuitem" must be on the direct li child for correct a11y.

@adidahiya adidahiya changed the title fix(a11y): fix MenuItem role structure when hasSubmenu [popover2] a11y(MenuItem2): fix role structure when hasSubmenu Feb 13, 2023
@adidahiya adidahiya merged commit 1340704 into palantir:develop Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants