How to fix buttons with no accessible name

WCAG 4.1.2 (Name, Role, Value)

What is wrong

An icon-only button with no text is announced as just "button", so people using a screen reader cannot tell what it does.

How to fix it

Add visible text, or an aria-label that states the action.

Before and after

<button><svg>...</svg></button>
<button aria-label="Open menu"><svg>...</svg></button>

The free scan takes under 30 seconds with no signup and lists every issue of this kind on your page. If you would rather not fix them yourself, the full report comes with a prioritized fix list.

More fix guides

General guidance from automated-testing rules; it is not legal advice. Automated scan using axe-core. Automated tools can only detect part of what accessibility standards (WCAG) cover, so a clean result isn't a guarantee of accessibility and this report is not legal advice or a compliance certification.