Skip to content
MinionHelp Center

Minion Help Center

How to test website text and control color contrast

Reviewed December 2, 2026 ยท Minion

Contrast testing compares foreground and background colors in the actual interface. Review body text, links, form labels and interactive states, including places where text sits over photography or gradients.

Build a state-based sample

  1. Identify the text and controls used across key templates.
  2. Measure the actual foreground and background colors in a contrast checker.
  3. Check default, hover, focus, error and selected states.
  4. Repeat across responsive layouts and image-based backgrounds.

Use the right criterion

WCAG's minimum text contrast criterion generally calls for 4.5:1 for normal text and 3:1 for qualifying large text. Exceptions and definitions matter. Non-text controls and focus indicators have additional considerations, so passing one text ratio does not establish complete accessibility.

For example, a light gray placeholder may be difficult to read even when the entered text is dark. Check both, and provide a persistent label rather than relying on placeholder text alone.

Fix the design system

Update shared color tokens and component styles when the same issue repeats. For text over imagery, use an appropriate background treatment and test the range of images editors can choose. Do not rely on one favorable photograph.

Verify that links, errors and selected options communicate meaning beyond color alone. Recheck after changes so improving one combination does not weaken another state or make a control look disabled.

Can increasing font size solve every contrast issue?

No. Large text has defined criteria, and thin or decorative letterforms can remain hard to read. Prefer clear typography and reliably distinguishable colors across the intended content.

References

Put this into practice.

Minion can help with accessible website design and interface refinement. Discuss the right ongoing support plan for your store or website.