Language: EN

Links in text are recognisable only by colour

Message shown by axe and Lighthouse: Links must be distinguishable without relying on color · link-in-text-block · WCAG 1.4.1

What it means and why it matters

People who can't distinguish colours don't see these links (WCAG 1.4.1).

How to fix it

Underline links in running text or give them a 3:1 contrast to the surrounding text plus a non-colour hover/focus cue.

Code example

Before

<p style="color:#555">Read our <a href="/returns" style="color:#0b5cad;text-decoration:none">return policy</a> before you order, it explains how returns work.</p>

After

<p style="color:#555">Read our <a href="/returns" style="color:#0b5cad;text-decoration:underline">return policy</a> before you order, it explains how returns work.</p>

In our study

Share of online shop home pages on which axe-core automatically detected at least one failure of this rule. The number of shops is in brackets.

CountryShops checkedWith this failure
Poland847 (8%)
Czechia865 (6%)
Slovakia9410 (11%)
Croatia9212 (13%)
Total, wave 135634 (10%)
Germany12315 (12%)
Austria9712 (12%)
Total, wave 222027 (12%)
Netherlands1008 (8%)
Spain949 (10%)
France10112 (12%)
Italy10111 (11%)
Total, wave 339640 (10%)

Method, limits and all results: Online shop study.

Find this error on your website

Run a free check of any page — results in seconds, with fix instructions.

Check a page for free

All accessibility errors

Order a paid plan

Leave your email and we'll contact you as soon as the plan can be ordered.