You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The small search variant with a magnifying glass as a button do not have an accessible name. the impact is that users on assistive tech will not receive sufficient context about what the button does.
See warning message about lack of accessible name on the button
Expected behavior
In the USWDS documentation and examples, the button has a label of Search provided via alt text on the img tag contained in the button
If we add alt text to the svg in our version, this should remediate the issue.
ReactUSWDS Version 6.2.0 USWDS Version: 3.7.1
Describe the bug
The small search variant with a magnifying glass as a button do not have an accessible name. the impact is that users on assistive tech will not receive sufficient context about what the button does.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
In the USWDS documentation and examples, the button has a label of
Search
provided via alt text on the img tag contained in the buttonIf we add alt text to the svg in our version, this should remediate the issue.
Screenshots
Additional context
Accessibility guidance on USWDS website
The text was updated successfully, but these errors were encountered: