a11y-theme-builder
a11y-theme-builder copied to clipboard
[TB] Standard Button - Icon only buttons do not have accessible name
Problem/Concern
Icon only buttons do not have an accessible name, resulting in accessibility issues when running automated checker:
Issue
Ensures buttons have discernible text
(button-name)
Target application
Element path
.icon.MuiButton-containedSizeMedium.css-1c64ckw-MuiButtonBase-root-MuiButton-root
Screenshot
Proposed Solution
Set aria-label on icon-only buttons. Aria-label should match the visible text of buttons with text for consistency.