Links Do Not Have a Discernible Name: Why This Accessibility Error Matters and How to Fix It

The error Links do not have a discernible name is a common accessibility issue that often goes unnoticed because it does not affect visual appearance. Links still work, pages still load, and users can still click. However, for screen reader users, these links provide little to no information about their purpose.

Links Do Not Have a Discernible Name: Why This Accessibility Error Matters and How to Fix It

When this error occurs, assistive technologies may announce multiple links simply as “link, link, link,” making navigation confusing and inefficient. This is a small technical oversight with significant accessibility and SEO implications.

What a Discernible Link Name Means

A discernible name is the accessible label that describes the purpose of a link. It tells screen readers where the link goes or what action it performs.

An accessible link name can come from:

  • Visible text inside the <a> element
  • The aria-label attribute
  • The aria-labelledby attribute

If none of these are present, the link is considered unnamed.

Why This Error Happens

This issue appears frequently in modern, icon-heavy interfaces.

  • Icon-only links without visible text
  • Anchor elements used purely for click behavior
  • Links created with background images or SVGs only
  • Social media or navigation icons without labels

While visual users understand icons instantly, assistive technologies require textual meaning.

Where Unnamed Links Commonly Appear

  • Mobile navigation menus
  • Social media icon lists
  • Search, close, or back icons
  • Call-to-action links using icons only
  • Custom JavaScript-based navigation

Common Incorrect Example

<a href="/home">
  <svg></svg>
</a>

To a screen reader, this link has no meaningful name.

Accessible and Correct Examples

The simplest fix is to provide visible text:

<a href="/home">
  Home
</a>

If visible text is not desirable, add an accessible label:

<a href="/home" aria-label="Home">
  <svg></svg>
</a>

This approach preserves the visual design while making the link understandable to assistive technologies.

Why This Matters for SEO

Unnamed links affect more than accessibility. They also reduce SEO effectiveness.

  • Search engines lack contextual anchor text
  • Internal links lose semantic meaning
  • Crawlers have less information about linked content

A clear link name benefits both humans and search engines.

Mistakes to Avoid

  • Using icons without accessible labels
  • Applying vague aria-label values like “link” or “click”
  • Overusing ARIA when visible text would be clearer
  • Hiding text with CSS without testing screen readers

Benefits of Fixing Discernible Link Names

Ensuring every link has a clear name leads to immediate improvements:

  • Smoother navigation for screen reader users
  • Higher accessibility audit scores
  • Stronger internal linking structure
  • Cleaner and more semantic HTML

Conclusion

The Links do not have a discernible name error is easy to miss but costly to ignore. By ensuring that every anchor element has meaningful text or an appropriate ARIA label, you create a more accessible, understandable, and search-friendly website without changing its visual design.

Comments


  • No comments yet.

Init Toolbox

Press Ctrl + \ on desktop, or swipe left anywhere on mobile.

Login