-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[a11y] Fix: aria-haspop, aria-expanded attributes on the link format button. #53691
[a11y] Fix: aria-haspop, aria-expanded attributes on the link format button. #53691
Conversation
Warning: Type of PR label error To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. |
Size Change: +31 B (0%) Total Size: 1.51 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am thinking this looks good. aria-haspopup
is used correctly here as a popup does open, not a sidebar.
Thank you for the review 👍 |
Part of #24796.
Currently, the link format button opens an additional UI but lacks aria-haspopup and aria-expanded tags. This PR resolves the issue.
Currently, the image link button already possesses these attributes, making this PR bring consistency to both elements.
Testing