This is practical accessibility guidance for first-pass triage. It is not legal advice, a formal audit, WCAG certification, or a conformance guarantee.

What this means

An element has aria-label, but the value is empty.

Why it matters

An empty accessible name can override useful visible text or leave a control unnamed.

How to fix it

  • Remove empty aria-label attributes.
  • Use visible text where possible.
  • Use a clear aria-label only when a visible label is not practical.

What automated checks can detect

A checker can detect aria-label attributes with empty or whitespace-only values.

What still needs manual review

Check the final accessible name with assistive technology or browser accessibility inspection.

Automation cannot fully validate every accessible name calculation in custom widgets.

Related tools and guides