Accessibility · Visual

Links rely on colour alone

A link in a paragraph on this page has no underline and differs from the text around it only by colour, which colour-blind users may not see.

How this page is built

The paragraph below contains a link with its underline removed. The link colour is too close to the text colour to tell them apart without it.

The site has many test pages, and one of them is the link target page, which tests link to.

Why it matters

People who cannot tell colours apart need another clue that text is a link. WCAG asks for an underline or similar, or a contrast of at least 3 to 1 between the link and the surrounding text, plus a non-colour cue on hover and focus.

Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.

How to check it

Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule link-in-text-block.

How to fix it

Keep the underline on links inside text. If the design removes it, add another visual cue and make the link colour contrast at least 3 to 1 with the text.

Back to all tests