Skip to main content
Raasta
SeriousWCAG 1.4.1 · Level Alink-in-text-block

Links are only shown by colour

A link inside a paragraph that differs from the text only by colour can’t be seen by many people. Underline links in body text, or give them 3:1 contrast with the text and a non-colour cue on hover and focus.

Who it hurts

People with colour-vision differences and low vision.

Designs often remove underlines for a cleaner look.

How to fix it

Pick your stack. Review every change before you ship it.

Before

p a { text-decoration: none; color: #2563eb; }

After

p a { text-decoration: underline; text-underline-offset: 3px; }

Check it by hand too

View the page in greyscale. You should still be able to find every link in the text.

Automated checks find a large share of accessibility problems, but not all of them. Passing this check does not on its own make a page compliant.

WCAG reference