---
title: "ARIA button/link/menuitem has no accessible name (a11y/aria-command-name)"
description: "a11y/aria-command-name: Elements with role button, link or menuitem that have no text are announced only by their role, so users cannot tell what they do."
canonical: https://void-design.vercel.app/rules/a11y/aria-command-name
lastModified: 2026-09-16
---

# ARIA button/link/menuitem has no accessible name

`a11y/aria-command-name` · severity **error** · category Accessibility · detected by `void a11y` and `void audit`

## Why it matters

Elements with role button, link or menuitem that have no text are announced only by their role, so users cannot tell what they do.

## How to fix it

Add visible text content, or aria-label / aria-labelledby when the control is icon-only.

## References

- https://dequeuniversity.com/rules/axe/4.13/aria-command-name

## More accessibility rules

`void a11y` reports 48 rules in this category. WCAG 2.2 AA through axe-core, plus checks axe can't do alone: visible keyboard focus, 24/44px target size on mobile, 320px reflow and disabled zoom.

- `aria-valid-attr` Invalid ARIA attribute name — [a11y/aria-valid-attr](https://void-design.vercel.app/rules/a11y/aria-valid-attr)
- `aria-valid-attr-value` Invalid ARIA attribute value — [a11y/aria-valid-attr-value](https://void-design.vercel.app/rules/a11y/aria-valid-attr-value)
- `aria-hidden-focus` Focusable element inside aria-hidden — [a11y/aria-hidden-focus](https://void-design.vercel.app/rules/a11y/aria-hidden-focus)
- `aria-hidden-body` aria-hidden on <body> — [a11y/aria-hidden-body](https://void-design.vercel.app/rules/a11y/aria-hidden-body)
- `aria-input-field-name` ARIA input field has no accessible name — [a11y/aria-input-field-name](https://void-design.vercel.app/rules/a11y/aria-input-field-name)
- `aria-toggle-field-name` ARIA toggle has no accessible name — [a11y/aria-toggle-field-name](https://void-design.vercel.app/rules/a11y/aria-toggle-field-name)
- `aria-prohibited-attr` ARIA attribute is prohibited for this role — [a11y/aria-prohibited-attr](https://void-design.vercel.app/rules/a11y/aria-prohibited-attr)
- `nested-interactive` Interactive controls are nested — [a11y/nested-interactive](https://void-design.vercel.app/rules/a11y/nested-interactive)

Detected by `void a11y` and `void audit`. Explain it in a terminal: `void rules a11y/aria-command-name`
