The link nobody can find
Many practice sites style the links in body paragraphs as a slightly different shade of blue or teal with no underline. To the designer on a bright monitor it looks clean. To a patient who sees color differently, or who is reading on a phone in sunlight, the paragraph looks like one block of gray text with no way to tell which words lead somewhere.
That matters most on the pages where a link is the next step: the paragraph that says you can request a visit, the sentence that points to the insurance page, the line that sends a new client to the intake form. If the link cannot be seen, the step is skipped.
What the W3C says
The Use of Color criterion says color must not be the only visual way to convey information, indicate an action or prompt a response. The W3C's failure example for links is blunt: removing the underline from a link in a sentence and leaving only a color difference is a failure, because links inside text are usually understood only from their own appearance.
The same failure page says a cue that shows only when the mouse hovers over the link or when the link receives keyboard focus still counts as a failure. A link that is a different color and also bold does not fail, because bold does not depend on color.
Three ways that pass, and one that does not
| How the link looks in a paragraph | Does it stand apart without color? |
|---|---|
| Underlined, any color | Yes, the underline carries the meaning |
| Different color and bold | Yes, bold is not a color cue |
| Different color only, with 3 to 1 lightness difference from the nearby text | Passes the technique, but the W3C suggests also adding an underline or bold |
| Different color only, similar lightness to the nearby text | No |
| Underline appears only when the mouse hovers or the link has focus | No |
The lightness rule comes from the W3C technique for inline text links. It measures the contrast between the link color and the plain text around it, which is a different number from the contrast of either one against the page background. Both numbers have to work: the link still needs the usual text contrast against the background, as our guide to checking text and background color contrast explains.
What to leave alone
Menus, buttons and footer link lists are understood from their position and design, so they do not need underlines. The W3C also says that a visited link color change is not the author's responsibility, so you do not have to engineer a second cue for visited links. The rule is about links sitting inside sentences.
A five-minute check
- 1Open a long page, such as a guide or a service page, on your phone.
- 2Turn on the grayscale or color filter in your phone's accessibility settings, or take a screenshot and convert it to black and white.
- 3Read one paragraph and point to every link without touching the screen.
- 4If you missed any, the links depend on color. Ask your web designer to underline links inside paragraphs.
- 5Tab through the page with a keyboard and confirm the same links are still visible while focused, using the steps in our keyboard-only test.
Send this to your designer
Links inside paragraphs and list items should be underlined all the time, not only on hover. Navigation and buttons can stay as designed. After the change, check that the link words still say where they lead, as covered in our guide to descriptive link text. We do not give legal advice, and underlining links does not by itself make a site conform to any standard.
Frequently asked questions
Does every link need an underline?
Only links inside running text need a cue other than color. Menus, buttons and footer lists are recognized from where they sit. If a link sits inside a sentence and nothing but its shade sets it apart, add the underline.
Is bold enough instead of an underline?
The W3C failure page says a link that is a different color and also bold does not fail. Bold can look like emphasis, though, so patients may not guess it is a link. An underline is the more familiar signal.
What does 3 to 1 mean here?
It is the lightness difference between the link text and the plain text beside it. A mid blue next to black text can pass, while two mid tones next to each other usually do not. A free contrast checker will measure the two colors you name.
Does this apply to visited links?
No. The W3C explains that browsers limit what a page can know about visited links, so a color-only change between visited and unvisited links is not a failure. Your link text still has to meet the usual contrast against the page background.
Will underlined links hurt the design?
A thin, offset underline in the link color looks tidy on most practice sites. Many designers keep links underlined in body text and remove the underline in the menu. A test on your phone will tell you whether your own pages read well.
Sources
- W3C Web Accessibility Initiative — Understanding Success Criterion 1.4.1: Use of Color
- W3C Web Accessibility Initiative — Technique G183: Using a contrast ratio of at least 3:1 to distinguish inline text links from surrounding text
- W3C Web Accessibility Initiative — Failure F73: Creating links that are not visually evident without color vision