Skip to main content
Vially Logo

WCAG 2.1 Criteria Documentation

1.4.11 – Non-text Contrast

High-Level Description

This criterion ensures that UI components, such as buttons, toggles, checkboxes, as well as graphical objects, such as charts and icons, have at least 3:1 contrast against adjacent colours. It supports users with low vision or contrast sensitivity.

Detailed Description

Non-text elements that convey meaning, such as visual controls and states (focus, selected, hover), must have adequate colour contrast. This applies to both active and inactive UI components.

What this means:

  • All applicable non-text elements have a contrast ratio of at least 3:1
  • States (focus, hover, selected, etc.) must also meet 3:1 contrast against the background

Applies to:

  • Non text elements that convey meaning
  • UI components e.g. buttons, inputs, toggles, sliders
  • Graphical elements that convey meaning

Indicators of Non-Compliance:

  • Checkbox, input field or toggle switch borders blend with background.
  • Focus outlines are too light to be seen.
  • Icons or indicators lack visual distinction.

Real-World Examples

ScenarioCompliantNon-Compliant
Buttons changing on hover When hovering on a button, it darkens while maintaining a 3:1 contrast ratio against the backgroundWhen hovering on the button it changes to a lighter colour, blending with the background and fails the 3:1 contrast requirement
Toggle Switch StateThe toggle switch uses a clearly differentiated state- e.g., a dark thumb on a light track or vice versa- providing at least 3:1 contrast between the selected and unselected statesThe toggle switch is light grey on white with no perceivable visual change when selected, failing to provide the required contrast for component states
A review with a star ratingThe stars have a black border around them which passes the requirementThe stars are light yellow on a white background with a low colour contrast of 1.2:1, failing the requirement

Disability Impact

Disability GroupWithout Sufficient ContrastWith Sufficient Contrast
Low VisionUI controls are indistinct from the backgroundStrong contrast improves perception
Colour BlindnessLow contrast makes components indistinguishable from the backgroundClear differentiation of components regardless of hue
Elderly UsersAge-related contrast sensitivity is an issueEasier to identify components across devices and environments
All UsersSunlight glare or poor screens affect usability for components with low contrastStrong contrast works universally

Supporting Documentation

Remediation Strategies

    Select colours for borders, icons, controls, and indicators that provide a strong visual contrast against their backgrounds.

    For default, on hover, toggled etc ensure all states have at least 3:1 colour contrast.