WCAG 2.4.4: Link Purpose (In Context)

Back to all WCAG criteria

OVERVIEW

Effort:

  • Complexity:Easy
  • Duration:Fast

Important for:

Content

What's it about?

The text of a link — as well as the alt text of a linked image — should clearly describe where the link leads.

If that’s not possible, the link text must at least be understandable in context.

Illustration of two buttons. One is labeled 'Click here' and is marked as unclear and incorrect. The other is labeled 'See all Products' and represents a clear, meaningful button label.

How to

Depending on your situation, you can implement one of the following options to meet the criterion. For a deeper dive, please refer to the linked WCAG techniques.

  • Meaningful link texts

    Recommendation!

    Links should clearly indicate where they lead. The best way is to use descriptive link texts such as “See all products.” URLs alone (https://…) or vague phrases like “Click here” are not sufficient to understand the link’s destination.

  • Visually hidden link text extensions

    A link’s name can also be extended using CSS or ARIA. By expanding the link text, you can provide additional context without affecting the visual layout of the page.

    Examples:

    • The link is simply called “Read more,” but the aria-label says “Read more about our products.”

    • The link is called “Read more about our products,” but the code includes a CSS class that hides the last part visually. Code:
      <p>Learn more about <span class=”visually-hidden”>our products</span></p>

    Note: Visually extending link text can cause issues with criterion 2.5.3 Label in Name.

    How do you make content accessible?

    Our workshop for content creators and editorial teams

    Learn everything you need to know in our workshop to make the content on your website, social media, and other channels accessible!

    More about the workshop
    Our mascot Sam with a pencil and a camera. Trying to create accessible content.

    Learn accessibility with us?

    Looking to implement WCAG best practices in your design, development, or content workflow? Book a workshop for your team or contact us directly to learn more.

    Send us an email!