Accessibility · ARIA

ARIA command without an accessible name

A focusable element on this page has role="button" but no text, label or title, so screen readers announce it only as "button" with no name.

How this page is built

The control below is a span with role="button" and tabindex="0". Its only content is an arrow hidden from assistive technology with aria-hidden.

Why it matters

Buttons, links and menu items must have a name that says what they do. Without one, a screen reader user hears “button” and has to guess what will happen. Voice control users cannot say its name to press it either.

Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.

How to check it

Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule aria-command-name.

How to fix it

Give the control visible text, or an aria-label if it shows only an icon. Better still, use a native <button> element with text inside.

Back to all tests