Neova高级 SEO 平台

行内链接仅靠颜色区分

在 Neova 中 直接在抓取过程中运行,无需任何设置。

规则最近审核:2026年10月17日 · 指南更新:2026年7月7日

WCAG 1.4.1 A 级不允许把颜色作为唯一的视觉提示。无法分辨颜色差异的用户,无法在文本中找到该链接。

您可以做什么

给链接加下划线,或添加另一种不依赖颜色的样式。

Neova 为何标记

  • 分辨不出颜色差异的人,找不到仅靠颜色与正文区分的链接。
  • WCAG 1.4.1(A 级)不允许把颜色作为唯一的视觉提示。
  • W3C 把没有色觉就看不出的链接列为已知失败 F73。

来源

完整指南

这一部分目前只有英文版。

What This Check Flags

This check fires when an in-text link is set apart from the words around it by color alone, with nothing else — no underline, no bold, no icon — to signal that it is clickable. That trips WCAG 2.1 Success Criterion 1.4.1 (Use of Color): anyone who cannot reliably tell your link color from your body-text color simply cannot find the link, and a chunk of your internal linking quietly stops working for them.

The people who lose out are not edge cases. Roughly one in twelve men has some form of color vision deficiency. Add low-vision users, aging eyes, a phone screen in direct sun, and a grayscale e-ink reader, and "the link is a slightly different shade of gray" becomes "there is no visible link at all." Color is allowed to be part of the signal. It just cannot be the only part.

A Real Failing Example, and the Fix

Here is the pattern that sets this off. A stylesheet strips the default underline off in-content links and leans on a link color that sits close to the paragraph color:

<style>
  article p { color: #444; }
  article p a {
    color: #6a7fa5;          /* muted blue, no other cue */
    text-decoration: none;   /* underline removed */
  }
</style>

<p>We break down the numbers in our
   <a href="https://example.com/reports/q3">quarterly summary</a>.</p>

Desaturate that page and "quarterly summary" vanishes into the sentence. The fix is to put back a non-color cue. An underline is the one every user already reads as "link," so it is the safest default for body copy:

<style>
  article p a {
    color: #1a5fb4;
    text-decoration: underline;      /* the non-color signal */
    text-underline-offset: 0.15em;   /* a little breathing room */
  }
  article p a:hover,
  article p a:focus {
    text-decoration-thickness: 2px;  /* reinforce on interaction */
  }
</style>

If an underline genuinely clashes with your design in one specific context (a nav bar, a card grid), you can swap it for another distinguishing cue — bold weight, a persistent icon, or a bottom border with at least a 3:1 contrast ratio against the surrounding text. What you cannot do is remove every cue and keep only hue.

Which Cues Actually Satisfy 1.4.1

Not every "difference" counts. The distinguishing signal has to be perceivable without relying on color perception. This table sorts the common approaches:

Approach Passes 1.4.1? Why
Underline (visible at rest) Yes Universally read as "link," survives grayscale
Bold / heavier font weight Yes Weight difference is not color-dependent
Persistent icon (e.g. external-link glyph) Yes Shape cue, perceivable without hue
Bottom border ≥ 3:1 vs. text Yes Non-color luminance edge marks the link
Underline on hover/focus only No Link is invisible at rest, before interaction
Different color only No Fails for color-blind and grayscale users
Italic only Risky Weak, easily missed; not a recognized link cue

One nuance worth knowing: WCAG carves out an exception when link text and surrounding text differ in luminance by a 3:1 ratio and get an extra cue on hover and focus. In practice, hitting that luminance gap reliably across a whole site is fiddly, so a visible underline is far less error-prone than chasing the exception.

How to Detect It

  1. Run your page through an automated checker (axe, Lighthouse, WAVE). They flag "Links must be distinguishable without relying on color" or the equivalent 1.4.1 rule.
  2. Grayscale the page. In Chrome DevTools open the Rendering panel and set "Emulate vision deficiencies" to Achromatopsia, or apply filter: grayscale(1). Scan a paragraph: can you still spot every link?
  3. Inspect your in-content link CSS for text-decoration: none without a replacement cue — that combination is the usual culprit.
  4. Check hover-only underlines. If a link only underlines on :hover or :focus, it fails for anyone not currently interacting with it.
  5. Test on a phone in bright light. Real-world glare exposes low-contrast links that look fine on a calibrated desktop monitor.

How to Fix It

  1. Give body-content links a cue that shows at rest — underline is the default choice.
  2. Keep the underline present in the resting state; add extra emphasis (thicker underline, bold) on hover and focus rather than introducing the cue there.
  3. Where an underline is genuinely undesirable, substitute bold weight, a persistent icon, or a 3:1 bottom border — never bare color.
  4. Scope the rule so it targets prose. Navigation, buttons, and card links that are already visually obvious as controls do not need the same treatment.
  5. Re-run the grayscale test after the change to confirm every link is still findable.

FAQ

No. The criterion targets links embedded in blocks of text, where a reader has to distinguish the link from the words around it. Navigation menus, buttons, and obvious call-to-action tiles read as interactive on their own, so they are not the concern here. It is the link sitting inside a sentence that must stand out by more than color.

Can I Use Underline-on-Hover Instead of a Permanent Underline?

Not as your only cue. If the link is indistinguishable until someone hovers, then keyboard users, touch users, and anyone scanning the page cannot find it in the first place. Show a resting cue, and treat hover/focus styling as reinforcement.

Is a Color Difference Ever Enough on Its Own?

Only under a narrow WCAG exception: the link text must differ from surrounding text by at least a 3:1 contrast ratio and gain an additional cue on hover and focus. Meeting that consistently is harder than it sounds, which is why a visible underline is the pragmatic answer for body copy.

Does This Affect SEO or Just Accessibility?

Primarily accessibility, but there is a real usability knock-on. Links a user cannot see are links they cannot click, which flattens engagement with your internal linking and buries the pages you are trying to surface. Making links obvious keeps that link equity actually reachable.

Different failure. This check is about visually telling a link apart from nearby text using more than color. A separate rule — that links must have discernible text — is about whether the link has any readable label at all for assistive tech. A link can pass one and fail the other.

For the bigger picture on where these rules and search overlap, see Accessibility and SEO, and if you are auditing your link graph, the internal linking guide covers making those links count once they are visible.

在您自己的网站上找到它

Neova 在每次抓取时都会运行此检查项和其他所有检查项,然后把修复方法写成工单交给您的团队。

  • 适用于 Mac、Windows 和 Linux 的桌面应用
  • 全部 696 项检查,每项都附来源
  • Search Console 和 Analytics 4,以只读方式连接
  • 工单发送到 Jira、Linear 和 Asana

下载 Neova Desktop Free 套餐,或免费试用 Solo 14 天,无需银行卡。

全部无障碍检查 · 指南 · 检查项库

作者:Neova Labs · 返回检查项库