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)
- In the document, find the images with a legend implemented using the
<img>element, an<input>element with thetype="image"attribute or an element with the WAI-ARIArole="img"attribute. - For each image, check that
- the image and its legend are contained in a
<figure>tag; - the legend is contained in a
<figcaption>tag.
- the image and its legend are contained in a
- If this is the case for each image, the test is validated.
Test 2 (1.9.2)
- Find in the document the object images with a legend (
<object>element with thetype="image/..."attribute). - For each image, check that
- the image and its legend are contained in a
<figure>tag; - the legend is contained in a
<figcaption>tag.
- the image and its legend are contained in a
- If this is the case for each image, the test is validated.
Test 3 (1.9.3)
- Find in the document the embedded images with a legend (
<embed>element with thetype="image/..."attribute). - For each image, check that
- the image and its legend are contained in a
<figure>tag; - the legend is contained in a
<figcaption>tag.
- the image and its legend are contained in a
- If this is the case for each image, the test is validated.
Test 4 (1.9.4)
- Find in the document the vector images with a legend (
<svg>element). - For each image, check that
- the image and its legend are contained in a
<figure>tag; - the legend is contained in a
<figcaption>tag.
- the image and its legend are contained in a
- If this is the case for each image, the test is validated.
Test 5 (1.9.5)
- Find in the document the bitmap images (
<canvas>element). - For each image, check that
- the image and its legend are contained in a
<figure>tag; - the legend is contained in a
<figcaption>tag.
- the image and its legend are contained in a
- If this is the case for each image, the test is validated.