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

feat(a11y): remove incorrect expanded attribute on OptionsMenu #1792

Merged
merged 8 commits into from
Feb 18, 2025

Conversation

scurker
Copy link
Member

@scurker scurker commented Jan 28, 2025

closes #1791

Normally, we might consider this a breaking change but I think in this instance since we're addressing an accessibility issue where an incorrect aria attribute is being used on a component I think this is a special consideration we need to take to bypass that in this instance.

I will be marking this as a feat to have a major version and will be communicating in the proper channels to ensure everyone is aware of this change.

@scurker scurker requested a review from a team as a code owner January 28, 2025 22:17
@scurker scurker requested a review from a team January 28, 2025 22:18
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1792.d15792l1n26ww3.amplifyapp.com

@anastasialanz anastasialanz self-assigned this Feb 18, 2025
@anastasialanz
Copy link
Contributor

I checked out https://w3c.github.io/aria/#aria-expanded and saw that aria-expanded is not used for the role menu and only for the menuitem so this is correct.

@scurker scurker merged commit b60e295 into develop Feb 18, 2025
8 checks passed
@scurker scurker deleted the fix-a11y-options-menu branch February 18, 2025 22:26
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.

[A11Y] Navbar Menu: States/Properties: The element has missing or incorrect states or properties
2 participants