WCAG fix guide

How to Fix Empty Links and Unclear Link Text (WCAG 2.2)

Last reviewed 3 min read

Applies to: SC 2.4.4 Link Purpose (In Context), Level A · SC 4.1.2 Name, Role, Value, Level A · SC 2.5.3 Label in Name

Empty links appeared on 46.3% of home pages in the WebAIM Million 2026 (detected with WebAIM's WAVE tool). WebAIM also found that 45% of images missing alt text were linked images, which leaves those links with no name (WebAIM).

Common causes and fixes

CauseFix
Icon-only link (social icons, cart, hamburger)Add visually hidden text or aria-label="Instagram"; hide the SVG with aria-hidden="true"
Linked image without altGive the image alt text that describes the destination (see the alt text guide)
Empty <a> used as an anchor/JS hookRemove it, or use a <button> for actions
"Read more" / "Click here" repeatedMake the text descriptive, or add hidden context: Read more<span class="visually-hidden"> about pricing</span>
<a href="https://instagram.com/acme">
  <svg aria-hidden="true" focusable="false">…</svg>
  <span class="visually-hidden">Acme on Instagram</span>
</a>

If the link has visible text, the accessible name must include it (SC 2.5.3).

CMS-specific steps

WordPress, Shopify, Webflow, Squarespace and Wix are trademarks of their respective owners. Glimscope is not affiliated with or endorsed by any of them.

What automated tools can and can't tell you: Automated checkers (including axe-core, which our monitor uses) can flag many instances of this issue, but they cannot judge everything. A human still has to check meaning and context. For scale: Deque reports that in its own sample of first-time audits, its automated tests found 57.38% of issues by volume (Deque report). That is Deque's figure for its sample, not a detection rate for any one tool, and it means a large share of issues still needs manual testing. Scanners catch links with no name. They can't tell whether "Learn more" makes sense in context. Automated tests find only some accessibility issues; manual testing is still required. Not legal advice.

Manual checklist

Sources

  1. www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context.html
  2. www.w3.org/WAI/WCAG22/Understanding/name-role-value.html
  3. www.w3.org/WAI/WCAG22/Understanding/label-in-name.html
  4. webaim.org/projects/million/
  5. www.deque.com/automated-accessibility-coverage-report/

Check your own site

Run a free automated scan of one page to check it for some issues like this one.

Run a free automated scan

Automated tests find only some accessibility issues; manual testing is still required. Not legal advice.