-
Notifications
You must be signed in to change notification settings - Fork 94
fix: a11y issue fixes #2917
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
base: main
Are you sure you want to change the base?
fix: a11y issue fixes #2917
Changes from all commits
a7ca245
94d6211
9d4120d
15d9a1b
63aa8c2
f314a76
090611c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ export const SearchButton = ({ | |
name={buttonText} | ||
size={3} | ||
aria-hidden={true} | ||
aria-label="Magnifying glass search icon" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💣 chore: There's no need to label this icon, because Detail: |
||
/> | ||
</Button> | ||
</div> | ||
|
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.
💣 chore: This is a duplicate property, we should remove it.
The ID of the controlled menu is passed as a
const
via thecontrols
attribute on this component. It's preferable to use theconst
anyway, so that updating the menu ID does not require an additional update to thecontrols
prop.