Text contrast ratio below 7:1 Accessibility Checkpoint

Description

Ensure that text and background colors have a 7:1 contrast ratio.

Help

Some users find it hard to read light gray text on a white background, dark gray text on a black background and white text on a red background.

  • The contrast ratio should be 4.5 or more for 18 point text, or larger
  • The contrast ratio should be 4.5 or more for 14 point bold text, or larger
  • The contrast ratio should be 7.0 or more for all other text

Applicable standards

Change history

  • 6.48 Mar 2023 Improved detection.
  • 6.47 Dec 2022 Now fires for form controls.
  • 5.39 Nov 2020 Fixed false positive.
  • 5.37 May 2020 Improved detection.
  • 5.31 Nov 2018 Fixed false positive. Changed rule ID from AccWcag2-1.4.6 to AccHtmlContrastEnhanced.
  • 5.23 Oct 2016 Fixed false positive.
  • 5.22 Jul 2016 Fixed false positive on print media.
  • 5.20 Jan 2016 Better detection with transparent background colors.
  • 5.8 Mar 2015 Fixed false positive on some large scale text.
  • 3.0 Dec 2008 Added.

This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.

Rule ID: AccHtmlContrastEnhanced