Insufficient contrast ratio for small text in an image of text
Test Case Summary
Test Case ID
TC8.1-2-fail-4
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 does not provide sufficient contrast between the foreground and background.
Applicable ICT Baseline Test
8.1 Test Procedure for Contrast Minimum
Baseline Test ID: 8.1-ContrastMinimum
Test Instruction: 2
Test Case Detail
Expected Baseline Result
Fail
The foreground and background text and size contrast ratio in the code sample does not provide sufficient contrast in an image of text.
Test Data
Single-Page URL
Embedded Code
Code
Test Case Instruction
Test Instruction | Instruction Detail | Expected Test Case Result |
---|---|---|
IC-1 | All visible text AND images of text (except those noted in Limitations, Assumptions, or Exceptions above) | The sample code contains an image of meaningful text. |
8.1-1 | Determine the contrast ratio of foreground and background in the image of text. | The contrast ratio for a portion of the text in the image is 2.8:1. |
8.1-2 | Check that the contrast ratio is at least 4.5:1. (SC 3.1.4) | Fail - The contrast ratio is less than 4.5:1 (it is 2.8:1) |
Results | Both of the above checks fail, then Baseline Test 8.1-Contrast Minimum. | Fail - one of the checks fails for minimum contrast ratio for an image in |