Skip to main content
RAWEBAA

10.5 On each web page, are the CSS declarations for element background and font colours used correctly?

WCAG references
  • 1.4.3 Contrast (Minimum) (AA)
Techniques
  • F24

Official methodology to test criterion 10.5

Test 1 (10.5.1)

  1. Find coloured text in the document, with the exception of default colours (e.g. links, etc.).
  2. Identify the element containing the text and check that there is a computed value for the element's background-color property.
  3. If this is the case, the test is validated.

Test 2 (10.5.2)

  1. Find coloured text in the document, with the exception of default colours (e.g. links, etc.).
  2. Identify the element containing the text and check that there is a computed value for the element's color property.
  3. If this is the case, the test is validated.

Test 3 (10.5.3)

  1. Find text in the document whose background is an image (background-image property).
  2. Identify the element containing the text and check that if the background image is missing, the text is still legible.
  3. If this is the case, the test is validated.