Skip to main content
RAWEBA

1.9 Is each image caption, if necessary, correctly linked to the corresponding image?

WCAG references
  • 1.1.1 Non-text Content (A)
  • 4.1.2 Name, Role, Value (A)
Techniques
  • ARIA4
  • ARIA6
  • G140

Official methodology to test criterion 1.9

Test 1 (1.9.1)

  1. In the document, find the images with a legend implemented using the <img> element, an <input> element with the type="image" attribute or an element with the WAI-ARIA role="img" attribute.
  2. For each image, check that
    • the image and its legend are contained in a <figure> tag;
    • the legend is contained in a <figcaption> tag.
  3. If this is the case for each image, the test is validated.

Test 2 (1.9.2)

  1. Find in the document the object images with a legend (<object> element with the type="image/..." attribute).
  2. For each image, check that
    • the image and its legend are contained in a <figure> tag;
    • the legend is contained in a <figcaption> tag.
  3. If this is the case for each image, the test is validated.

Test 3 (1.9.3)

  1. Find in the document the embedded images with a legend (<embed> element with the type="image/..." attribute).
  2. For each image, check that
    • the image and its legend are contained in a <figure> tag;
    • the legend is contained in a <figcaption> tag.
  3. If this is the case for each image, the test is validated.

Test 4 (1.9.4)

  1. Find in the document the vector images with a legend (<svg> element).
  2. For each image, check that
    • the image and its legend are contained in a <figure> tag;
    • the legend is contained in a <figcaption> tag.
  3. If this is the case for each image, the test is validated.

Test 5 (1.9.5)

  1. Find in the document the bitmap images (<canvas> element).
  2. For each image, check that
    • the image and its legend are contained in a <figure> tag;
    • the legend is contained in a <figcaption> tag.
  3. If this is the case for each image, the test is validated.