Colour and contrast

Make links in text stand out without relying on color

Rule ID: PF-LINK-DISTINGUISHABLE

  • WCAG A
  • 1.4.1 Use of Color

Why it matters

A link inside a paragraph that differs from the surrounding text only by color is hard or impossible to spot for people with color vision deficiencies or low vision. WCAG 1.4.1 Use of Color (Level A) requires another visual cue. Pallyfi passes a link with non-color styling such as an underline, a border or a different font weight, or one whose text or background has at least 3:1 contrast with the surrounding text or background.

Who it affects

  • Low-vision people
  • People with colour vision deficiencies

How to fix it

Underline links within body text, which is the most reliable fix. If you remove the underline, keep the link color at least 3:1 against the surrounding text and add a non-color cue on hover and focus.

Accessible example
<style>
  p a { text-decoration: underline; }
</style>
<p>Read our <a href="/refunds">refund policy</a> before cancelling.</p>

How to verify a fix

Scan the page again: the element should no longer be listed for this rule. Then check it the way people use it, for example with a keyboard or a screen reader, since a passing rule shows the markup is right, not that the experience works.

What automated testing can confirm

This is an automated rule that runs on every Pallyfi scan. A pass means the rule found no failing elements in what was rendered at scan time; it doesn’t cover content behind interactions the scan didn’t reach, and some criteria still need a person to check with a keyboard or screen reader. When the rule can’t decide on its own, the element is listed under Needs review instead. Manual audits record human evidence alongside the automated result.

Check your site for this

Quick Scan checks a public page against every rule Pallyfi runs and shows each failing element.

Run a Quick Scan