-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
Many IconButton components lack aria-label attributes, making them inaccessible to screen readers. Users who rely on assistive technology cannot understand what these buttons do.
What to do
- Search for all
<IconButtoncomponents inweb/src/that don't have anaria-labelprop - Add a descriptive
aria-labelto each one (e.g.aria-label="Close",aria-label="Delete item",aria-label="Toggle settings") - Also check for
<button>elements that only contain an icon (no text) — these need labels too - Ensure interactive elements that look like buttons use
<button>or haverole="button"+tabIndex={0}+ keyboard handlers
Guidelines
- Labels should be concise and action-oriented
- Use the button's actual function, not the icon name (e.g. "Close dialog" not "X icon")
- Don't add labels to buttons that already have visible text
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request