Matan · WCAG · Operable

Button names

WCAG 4.1.2: buttons must have an accessible name (Name, Role, Value).

Pass condition in our engine: Buttons have an accessible name.

1. Problem description

Icon-only close and menu buttons frequently have no text and no aria-label. role=button on a div inherits the same requirement.

2. Most common causes

  • SVG icons without title/aria-label.
  • A <div role=button> wrapping an empty span.

3. How to fix it

  1. Add visible text or aria-label on every <button> and role=button.
  2. Prefer a real <button> over a clickable div.

Test this check

We fetch only this URL (plus robots.txt / llms.txt at the domain root when the check needs them). We do not crawl the rest of the site like a full report.

Scoring rules for the full site crawl are documented in methodology. Want every category at once? Generate a free report.

Get your free SEO & GEO report

Enter your URL and receive a full audit with scoring and recommendations. No sign-up required.