Skip to content
Level AA Perceivable

WCAG 1.4.11: Non-text Contrast

UI components (form inputs, buttons, focus indicators) and meaningful graphical objects must have at least 3:1 contrast ratio against adjacent colors. This ensures interactive elements are visible to users with low vision.

What is WCAG 1.4.11 Non-text Contrast?

WCAG 1.4.11 Non-text Contrast is a Level AA web accessibility success criterion under the Perceivable principle. UI components (form inputs, buttons, focus indicators) and meaningful graphical objects must have at least 3:1 contrast ratio against adjacent colors. This ensures interactive elements are visible to users with low vision. Common failures include form inputs with very light gray borders on white backgrounds and custom focus indicators with insufficient contrast. Meeting this criterion is essential for accessible, inclusive web design.

How to Test

  1. Check form input borders have 3:1 contrast against the background
  2. Verify button borders or backgrounds have 3:1 contrast against the page background
  3. Test focus indicator visibility — it must have 3:1 contrast
  4. Check that icons and graphical indicators have sufficient contrast
  5. Verify custom checkboxes, radio buttons, and toggle switches are visible

Common Failures

Good Example

<!-- Input with visible border: #6b7280 on #ffffff = 5.03:1 -->
<input type="text" style="border: 2px solid #6b7280; padding: 0.5rem; border-radius: 0.25rem;">

<!-- Button with clear boundary -->
<button style="background: #2563eb; color: white; padding: 0.5rem 1rem; border: none; border-radius: 0.25rem;">
  Submit
</button>

The input has a visible border with 5.03:1 contrast. The button has a solid background color with strong contrast against the white page background.

Bad Example

<!-- Input with faint border: #e5e7eb on #ffffff = 1.13:1 -->
<input type="text" style="border: 1px solid #e5e7eb; padding: 0.5rem;">

<!-- Ghost button barely visible -->
<button style="background: transparent; color: #d1d5db; border: 1px solid #e5e7eb;">
  Submit
</button>

The input border has only 1.13:1 contrast — nearly invisible. The ghost button has extremely low contrast for both its border and text.

Test Your Site for 1.4.11 Compliance

Use our free accessibility tools to check your website against WCAG 1.4.11.

Open Testing Tool

Related Success Criteria

A
1.4.1 Use of Color Perceivable
AA
1.4.3 Contrast (Minimum) Perceivable
AA
2.4.7 Focus Visible Operable

Related Reading

WCAG 2.2 Changes Summary → How to Check Website Accessibility for Free → WCAG Color Contrast Requirements Explained →