ARIA commands must have an accessible name

Serious

What is the problem?

The aria-command-name rule ensures that all interactive elements, such as buttons, links, and menu items, have clear and descriptive labels.

Impacted Groups

Blind
Low Vision
Mobility

Why is this important?

Clear labels are essential for screen reader users to understand the purpose of interactive elements. Without them, users may miss important actions or be unable to navigate the website effectively.

How to solve this issue

To address this issue, ensure that each element with role="link", role="button", or role="menuitem" has either inner text that can be read by screen readers, a non-empty aria-label attribute or an aria-labelledby attribute that refers to an element with text that can be read by screen readers.

Rule Information

Rule ID

aria-command-name

Severity

Serious

Manual Review Required

Yes

Rule Group

WCAG 2.0 Level A & AA Rules

Guidelines

  • WCAG 2.1 (A)
  • WCAG 2.0 (A)
  • WCAG 2.2 (A)
  • Trusted Tester
  • EN 301 549

Customise Guidance

You can customise each accessibility rule in SiteAlly with your own guidance, instructions and even links to your own organisation specific documentation.

Enable your website editors to resolve issues quickly with SiteAlly.

Ready to make your website accessible?

SiteAlly provides automated accessibility monitoring, detailed reports, and step-by-step guidance to help you achieve and maintain compliance.