Neova高级 SEO 平台

文本色彩对比度不足

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

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

WCAG 1.4.3 要求对比度达到 4.5:1,大号文本为 3:1。对比度低,视力低下的用户难以阅读。

您可以做什么

加深文本颜色或调浅背景,直到对比度达到最低要求。

Neova 为何标记

  • WCAG 1.4.3(AA 级)要求对比度至少为 4.5:1,大号文字至少 3:1。
  • 低对比度文字对低视力人群、年长访客以及在阳光下用手机的人来说都很难看清。
  • 访客读起来吃力的文字,往往会被直接跳过。

来源

完整指南

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

What This Check Flags

This check fails when any text on the page — not just the headline or one hero block, but every paragraph, caption, placeholder, disabled label, and footer line — falls below the WCAG contrast minimum against its background. The stakes are plain: text a reader cannot resolve is content that, for them, is not there, and low-contrast copy is one of the most common accessibility failures on the entire web.

This is the page-wide sweep. It is broader than the earlier single-element check (Text Color Contrast, AC-019), which flags one offending element so you can see the pattern. This one insists the rule holds everywhere — and the failures it catches are almost always the quiet ones: gray helper text under form fields, muted timestamps, disabled-looking buttons that are actually live, light captions on photos.

A Real Failing Example, and the Fix

The classic offender is "subtle" secondary text. A designer wants meta information to recede, picks a light gray, and it lands well under the threshold:

<style>
  .card { background: #ffffff; }
  .card .meta {
    color: #999999;   /* ~2.8:1 on white, fails */
    font-size: 14px;
  }
</style>

<div class="card">
  <h3>Pricing update</h3>
  <p class="meta">Posted 12 March · 3 min read</p>
</div>

#999999 on white is roughly 2.8:1 — below the 4.5:1 floor for normal text. The fix is to darken the gray until it clears the threshold; it still reads as secondary, just legibly so:

<style>
  .card .meta {
    color: #595959;   /* ~7:1 on white, passes comfortably */
    font-size: 14px;
  }
</style>

The same trap catches placeholder text (::placeholder often defaults to a failing gray), disabled controls, and light text laid over a photo where the background luminance shifts pixel to pixel. Every one of those is "text" as far as this check is concerned.

Contrast Thresholds by Text Size

What counts as "sufficient" depends on the text size and weight, because larger glyphs stay readable at lower ratios. Here is what each level requires:

Text Type Definition AA Minimum AAA Minimum
Normal text Under 18pt (24px), or under 14pt (18.66px) bold 4.5:1 7:1
Large text 18pt (24px)+, or 14pt (18.66px)+ bold 3:1 4.5:1
Placeholder & helper text Treated as normal text 4.5:1 7:1
Text in logos / brand marks Incidental, decorative Exempt Exempt
Purely disabled controls Inactive UI components Exempt Exempt

Two things trip people up. First, bold lowers the size at which text qualifies as "large," so a bold 19px label only needs 3:1. Second, the disabled exemption is narrow: if a control is actually functional, it is not exempt just because it is styled to look faint.

How to Detect It

  1. Run an automated audit (axe, Lighthouse, WAVE). The "all text elements" rule reports every node whose computed contrast is below its size-appropriate threshold.
  2. Use a contrast picker on suspicious spots — the DevTools color picker shows the live ratio and a pass/fail badge for the selected foreground/background pair.
  3. Hunt the usual soft targets by hand: placeholder text, form hints, timestamps, footer links, captions, and any text sitting on top of an image or gradient.
  4. Check text over images specifically. Contrast can pass over the dark part of a photo and fail over the light part; a scrim or text shadow is often needed.
  5. Test both themes. If you ship a dark mode, re-run the whole audit there — a palette that passes on white frequently fails when inverted.

How to Fix It

  1. Adjust the foreground or background luminance until the pair clears the threshold for its size. Darkening a gray is usually enough; you rarely need to touch brand hues.
  2. Fix it at the token level. If your gray palette has failing steps, correct the design tokens so every component inherits compliant values instead of patching one card.
  3. For text over imagery, add a semi-opaque overlay, a solid text panel, or a text shadow so the effective background contrast is stable across the image.
  4. Restyle placeholders and helper text to a passing gray, and confirm disabled-looking-but-active controls actually meet the ratio.
  5. Re-audit the full page — and every theme — after the change, since this check only clears when nothing is left failing.

FAQ

How Is This Different From the AC-019 Contrast Check?

Scope. AC-019 surfaces a representative failing element so you can identify the pattern quickly. This check is the exhaustive version: it will not pass until every text node on the page meets its threshold. Think of AC-019 as the spot-check and this as the full sweep.

Do I Have to Hit 7:1 (AAA) or Is 4.5:1 (AA) Enough?

AA (4.5:1 for normal text) is the standard most audits, legal requirements, and this check target. AAA (7:1) is a stronger goal worth reaching where you can, especially for long-form reading, but you are not failing this check by "only" meeting AA.

Does Gray Placeholder Text Really Need to Pass?

Yes. Placeholder text is real text conveying information, so it is held to the 4.5:1 normal-text minimum. The faint default gray browsers apply almost always fails, which is why placeholders are one of the most frequent offenders this check catches.

My Dark Mode Passes but Light Mode Fails (Or Vice Versa). Why?

Contrast is a relationship between foreground and background, and inverting a theme changes both. A color pair tuned for one background rarely holds up against the opposite one, so each theme needs its own audit. Never assume parity between modes.

Is Low Contrast an SEO Problem Too?

Indirectly. Search engines do not measure contrast ratios, but users bouncing off text they cannot read hurts engagement, and accessibility overlaps with the quality signals Google does care about. The accessibility and SEO overview maps where those two actually meet. For the readability side of the same coin, see the readability glossary entry.

在您自己的网站上找到它

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

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

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

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

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