Text with contrast ratio greater than 4.5:1

Test Case Summary

Test Case ID

TC08.1-2-pass-1

Test Case Description

Detect the foreground and background text and size contrast ratio. Determine whether contrast ratio is sufficient. The text in the code sample provides sufficient contrast between the foreground and background.

Applicable ICT Baseline Test

Test Case Detail

Expected Baseline Result

Pass

The foreground text in the code sample provides sufficient contrast based on the text size, foreground color, and background color.

Test Data

Single-Page URL

Embedded Code

Code

Test Case Instruction

Test Instruction Instruction Detail Expected Test Case Result
IC All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above) There are multiple paragraphs of text on the page.
8.1-1 Determine the contrast ratio of foreground text and background. The contrast ratio for all of the text on the page is at least 4.5:1 or greater.
8.1-2 Check that the contrast ratio is at least 4.5:1. [SC 1.4.3] The contrast ratio for all of the text on the page is at least 4.5:1 or greater.
Results If both of the above checks pass, then Baseline Test 8.1-ContrastMinimum fails. Pass