Test Case Summary
Test Case ID
TC08.1-3-fail-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 is NOT sufficient contrast between the foreground and background for bolded text.
Applicable ICT Baseline Test
Test Case Detail
Expected Baseline Result
Fail
Although the foreground text in the code sample is bolded, it DOES NOT provide sufficient contrast because the contrast is below the 3:1 contrast ratio requirement for bolded text.
Test Data
Single-Page URL
Embedded 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) | One paragraph of text is present in the code sample. |
8.1-1 | Determine the contrast ratio of foreground text and background. | The contrast ratio for the text is 2.86:1. |
8.1-2 | Check that the contrast ratio is at least 4.5:1. [SC 1.4.3] | The contrast ratio is less than 4.5:1. |
8.1-3 | If the contrast ratio is less than 4.5:1, check that the ratio is at least 3:1 AND the font meets one of the following criteria: [SC 1.4.3] | The contrast ratio is less than 3:1 (it is 2.86:1) |
Results | If both of the above checks fail, then Baseline Test 8.1-ContrastMinimum fails. | Fail |