Axe rule guides
link-nameserious

Fix link-name axe errors

A link has no accessible name, making its destination or purpose unclear to assistive technology users.

Affected users

Screen reader users, keyboard users, and users navigating by link lists.

WCAG mapping

2.4.4 Link Purpose (In Context) (A); 4.1.2 Name, Role, Value (A)

Detection

wcagc reports links whose computed accessible name is empty and includes the related WCAG references.

Failing markup

<a href="/pricing"><svg aria-hidden="true"></svg></a>

Fixed code

<a href="/pricing" aria-label="View pricing"><svg aria-hidden="true"></svg></a>

Sources and standards

FAQ

Is 'click here' acceptable?

It is usually weak. Prefer link text that identifies the target or action, such as 'View pricing'.

Can hidden text name an icon link?

Yes. A visually-hidden text span is often clearer than relying only on aria-label.

Scan the rest of the page

One rule rarely travels alone

Run a page through wcagc to find this rule, related WCAG issues, affected selectors, and manual checks that automation cannot judge.

Scan a page