Theme 1
critère 1.1 Does each image conveying information have a text alternative? Criterion 1.1 Compliance level A
Tests
Test 1.1.1 Does each image (<img>
tag or a tag with the WAI-ARIA role="img"
attribute) conveying information have a text alternative? Test 1.1.1
Test methodology
- Find in the document the images implemented using an
<img>
element or an element with the WAI-ARIArole="img"
attribute. - For each image, determine whether the image conveys information.
- If it is an
<img>
element, check that the image has at least one of the following text alternatives:- passage of text associated via the WAI-ARIA
aria-labelledby
attribute; - value of the WAI-ARIA
aria-label
attribute; - value of the
alt
attribute; - value of the
title
attribute.
- passage of text associated via the WAI-ARIA
- In the case of an element with the WAI-ARIA
role="img"
attribute, check that the image has at least one of the following text alternatives:- passage of text associated via the WAI-ARIA
aria-labelledby
attribute; - value of the WAI-ARIA
aria-label
attribute.
- passage of text associated via the WAI-ARIA
- If at least one text alternative is found, the test is validated.
Test 1.1.2 Does each image map area (<area>
tag) conveying information have a text alternative? Test 1.1.2
Test methodology
- Find in the document the
<area>
elements. - For each
<area>
element, determine whether the image map area carries information. - Check that the image map area has at least one of the following text alternatives:
- value of the WAI-ARIA
aria-label
attribute; - value of the
alt
attribute;
- value of the WAI-ARIA
- If at least one text alternative is found, the test is validated.
Test 1.1.3 Does each button of type image
(<input>
tag with type="image"
attribute) have a text alternative? Test 1.1.3
Test methodology
- Find in the document the
<input>
elements with thetype="image"
attribute. - For each
<input>
element with the attribute type="image", determine whether the image used conveys information. - Check that the
<input>
element has at least one of the following text alternatives:- passage of text associated via the WAI-ARIA
aria-labelledby
attribute; - value of the WAI-ARIA
aria-label
attribute; - value of the
alt
attribute; - value of the
title
attribute.
- passage of text associated via the WAI-ARIA
- If at least one text alternative is found, the test is validated.
Test 1.1.4 Is each clickable area in a server-side image map accompanied by a mechanism that can be used regardless of the pointing device used and allows to access the same destination? Test 1.1.4
Test methodology
- Find in the document the
<img>
elements with theismap
attribute. - For each
<img>
element with theismap
attribute, check for the presence of a link or set of links (or another type of user interface component which plays a similar role, such as a combobox, for example) providing access to the same resources as when the image is clicked. - If this is the case, the test is validated.
Test 1.1.5 Does each vector image (<svg>
tag) conveying information meet these conditions? Test 1.1.5
The
<svg>
tag has a WAI-ARIArole="img"
attribute;The
<svg>
tag has a text alternative.
Test methodology
- Find in the document the
<svg>
elements. - For each
<svg>
element, determine whether the image conveys information. - Check that the
<svg>
element has a WAI-ARIArole="img"
attribute. - If this is not the case, the test is invalidated.
- If necessary, check that the
<svg>
element has at least one of the following text alternatives:- value of the
<title>
element; - passage of text linked by the WAI-ARIA
aria-labelledby
attribute; - value of the WAI-ARIA
aria-label
attribute;
- value of the
- If at least one text alternative is found, the test is validated.
Test 1.1.6 Does each object image (<object>
tag with the type="image/..."
attribute) conveying information meet one of these conditions? Test 1.1.6
The
<object>
tag has a text alternative and arole="img"
attribute;The
<object>
element is immediately followed by an adjacent link or button giving access to alternative content;A mechanism allows the user to replace the
<object>
element with alternative content.
Test methodology
- Find in the document the opening
<object>
tags with thetype="image/..."
attribute. - For each opening
<object>
tag with thetype="image/..."
attribute, determine whether the image used is conveying information. - Check that the
<object>
element has a WAI-ARIArole="img"
attribute. - Check that the
<object>
element has at least one of the following text alternatives:- passage of text associated via the WAI-ARIA
aria-labelledby
attribute; - value of the WAI-ARIA
aria-label
attribute; - value of the
title
attribute.
- passage of text associated via the WAI-ARIA
- If at least one text alternative is found, the test is validated.
- Otherwise, check that:
- either the
<object>
element is immediately followed by an adjacent link or button providing access to alternative content; - or a mechanism allows the user to replace the
<object>
element with alternative content.
- either the
- If this is the case, the test is validated.
Test 1.1.7 Does each embedded image (<embed>
tag with the type="image/..."
attribute) conveying information meet one of these conditions? Test 1.1.7
The
<embed>
tag has a text alternative and arole="img"
attribute;The
<embed>
element is immediately followed by an adjacent link or button giving access to alternative content;A mechanism allows the user to replace the
<embed>
element with alternative content.
Test methodology
- For each
<embed>
element with thetype="image/..."
attribute, determine whether the image used is conveying information. - Check that the
<embed>
element has a WAI-ARIArole="img"
attribute. - Check that the
<embed>
element has at least one of the following text alternatives:- passage of text associated via the WAI-ARIA
aria-labelledby
attribute; - value of the WAI-ARIA
aria-label
attribute; - value of the
title
attribute.
- passage of text associated via the WAI-ARIA
- If at least one text alternative is found, the test is validated.
- Otherwise, check that:
- either the
<object>
element is immediately followed by an adjacent link or button providing access to alternative content; - or a mechanism allows the user to replace the
<object>
element with alternative content.
- either the
- If this is the case, the test is validated.
Test 1.1.8 Does each bitmap image (<canvas>
tag) conveying information meet one of these conditions? Test 1.1.8
The
<canvas>
tag has a text alternative and arole="img"
attribute;An alternative content is present between the
<canvas>
and</canvas>
tags;The
<canvas>
element is immediately followed by an adjacent link or button giving access to alternative content;A mechanism allows the user to replace the
<canvas>
element with alternative content.
Test methodology
- Find
<canvas>
elements in the document. - For each
<canvas>
element, determine whether the image used conveys information. - Check that the
<canvas>
element has a WAI-ARIArole="img"
attribute. - Check that the opening
<canvas>
tag has at least one of the following text alternatives:- passage of text associated via the WAI-ARIA
aria-labelledby
attribute; - value of the WAI-ARIA
aria-label
attribute.
- passage of text associated via the WAI-ARIA
- If at least one text alternative is found, the test is validated.
- If steps 3 and 4 are not satisfied, check that:
- either the
<canvas>
element has alternative content between the<canvas>
and</canvas>
tags; - or the
<canvas>
element is immediately followed by an adjacent link or button providing access to alternative content; - or a mechanism allows the user to replace the
<canvas>
element with alternative content.
- either the
- If this is the case, the test is validated.
Note: if the <canvas>
element has an img
role, its alternative can only be provided by the techniques listed in step 4.
Mapping
WCAG 2.1 success criteria
Sufficient techniques and/or failures
EN 301 549 V3.2.1 (2021-03)
9.1.1.1 Non-text Content.
Automated tests mapping
- Axe rule: area-alt - "Active <area> elements must have alternate text"
- Axe rule: image-alt - "Images must have alternate text"
- Axe rule: input-image-alt - "Image buttons must have alternate text"
- Axe rule: object-alt - "<object> elements must have alternate text"
- Axe rule: role-img-alt - "[role="img"] elements have an alternative text"
- Axe rule: svg-img-alt - "svg elements with an img role have an alternative text"
critère 1.2 Is every decorative image correctly ignored by assistive technologies? Criterion 1.2 Compliance level A
Tests
Test 1.2.1 Does each decorative image (<img>
tag), without image caption, meet one of these conditions? Test 1.2.1
The
<img>
tag has an emptyalt
attribute (alt=""
) and no other attribute to provide a text alternative.The
<img>
tag has a WAI-ARIAaria-hidden="true"
attribute orrole="presentation"
.
Test methodology
- Find in the document the decorative images without a legend implemented using an
<img>
element. - For each image, check that the image has no
aria-labelledby
,aria-label
ortitle
attributes and that it has- an empty
alt
attribute (alt=""
); - or a WAI-ARIA
aria-hidden="true"
orrole="presentation"
attribute.
- an empty
- If this is the case for each image, the test is validated.
Test 1.2.2 Does each non-clickable decoration area (<area>
tag without href
attribute), meet one of these conditions? Test 1.2.2
The
<area>
tag has an emptyalt
attribute (alt=""
) and no other attribute to provide a text alternative.The
<area>
tag has a WAI-ARIAaria-hidden="true"
orrole="presentation"
attribute.
Test methodology
- Find in the document the decorative images implemented using an
<area>
element (without ahref
attribute). - For each image, check that the
<area>
element has noaria-labelledby
,aria-label
ortitle
attributes and that it has- an empty
alt
attribute (alt=""
); - or a WAI-ARIA
aria-hidden="true"
orrole="presentation"
attribute.
- an empty
- If this is the case for each image, the test is validated.
Test 1.2.3 Does each decorative object image (<object>
tag with type="image/..."
attribute), without image caption, meet these conditions? Test 1.2.3
The
<object>
tag has a WAI-ARIAaria-hidden="true"
attribute.The
<object>
tag has no text alternative.There is no alternative text between
<object>
and</object>
.
Test methodology
- Find in the document the decorative images implemented without an image caption using an
<object>
element (with atype="image/..."
attribute). - For each image, check that the opening
<object>
tag does not havearia-labelledby
,aria-label
ortitle
attributes and that it- has a WAI-ARIA
aria-hidden="true"
attribute; - and has no text alternative;
- and has no alternative content between the
<object>
and</object>
tags.
- has a WAI-ARIA
- If this is the case for each image, the test is validated.
Test 1.2.4 Does each decorative vector image (<svg>
tag), without image caption, meet these conditions? Test 1.2.4
The
<svg>
tag has a WAI-ARIAaria-hidden="true"
attribute.The
<svg>
tag and its children have no text alternative.The
<title>
and<desc>
tags are missing or empty.The
<svg>
tag and its children have notitle
attribute.
Test methodology
- Find in the document the decorative images without an image caption, implemented using a
<svg>
element. - For each image, check that the
<svg>
element has noaria-labelledby
oraria-label
attributes and that it- has a WAI-ARIA
aria-hidden="true"
attribute; - and has no text alternative (including its child elements);
- and does not contain
<title>
and<desc>
elements unless empty of content; - and has no
title
attribute (and its child elements).
- has a WAI-ARIA
- If this is the case for each image, the test is validated.
Test 1.2.5 Does each decorative bitmap image (<canvas>
tag), without image caption, meet these conditions? Test 1.2.5
The
<canvas>
tag has a WAI-ARIAaria-hidden="true"
attribute.The
<canvas>
tag and its children have no text alternative.There is no text acting as a text alternative between
<canvas>
and</canvas>
.
Test methodology
- Find in the document the decorative images without an image caption implemented using a
<canvas>
element. - For each image, check that the
<canvas>
element has noaria-labelledby
,aria-label
ortitle
attributes and that it- has a WAI-ARIA
aria-hidden="true"
attribute; - and has no text alternative;
- and has no alternative content between the
<canvas>
and</canvas>
tags.
- has a WAI-ARIA
- If this is the case for each image, the test is validated.
Test 1.2.6 Does each decorative embedded image (<embed>
tag with type="image/..."
attribute), without image caption, meet these conditions? Test 1.2.6
The
<embed>
tag has a WAI-ARIAaria-hidden="true"
attribute.The
<embed>
tag and its children have no text alternative.
Test methodology
- Find in the document the decorative images without an image caption using an
<embed>
element (with atype="image/..."
attribute). - For each image, check that the
<embed>
element does not havearia-labelledby
,aria-label
ortitle
attributes and that it- has a WAI-ARIA
aria-hidden="true"
attribute; - and has no text alternative;
- has a WAI-ARIA
- If this is the case for each image, the test is validated.
Notes and special cases
Technical note
When an image is associated with an image caption, the WCAG Technical Note recommends systematically providing a text alternative (see Criterion 1.9). In this case, criterion 1.2 does not apply.
In the case of a decorative vector image (<svg>
tag) which is displayed via an <use href="…">
element, which is a child of the <svg>
element, test 1.2.4 will also apply to the associated <svg>
element via the <use>
element.
A WAI-ARIA role="presentation"
attribute can be used on decorative images and decorative non-clickable areas. The "none"
role introduced in ARIA 1.1 and synonymous with the "presentation"
role can also be used. However, it is still preferable to use the "presentation"
role while waiting for satisfactory support for the "none"
role.
Mapping
WCAG 2.1 success criteria
Sufficient techniques and/or failures
EN 301 549 V3.2.1 (2021-03)
9.1.1.1 Non-text Content, 9.4.1.2 Name, Role, Value.
Automated tests mapping
- Axe rule: area-alt - "Active <area> elements must have alternate text"
- Axe rule: image-alt - "Images must have alternate text"
- Axe rule: input-image-alt - "Image buttons must have alternate text"
- Axe rule: object-alt - "<object> elements must have alternate text"
- Axe rule: role-img-alt - "[role="img"] elements have an alternative text"
- Axe rule: svg-img-alt - "svg elements with an img role have an alternative text"
critère 1.3 For each image conveying information with a text alternative, is this alternative relevant (excluding special cases)? Criterion 1.3 Compliance level A
Tests
Test 1.3.1 For each image (<img>
tag or tag with WAI-ARIA role="img"
attribute) conveying information, having a text alternative, is this alternative relevant (excluding special cases)? Test 1.3.1
If present, the value of the
alt
attribute is relevant.If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text linked by
aria-labelledby
WAI-ARIA attribute is relevant.
Test methodology
- Find in the document the images implemented using an
<img>
element (or an element with the WAI-ARIArole="img"
attribute) with a text alternative (image). - For each image, check that the text alternative is relevant.
- If this is the case for each image, the test is validated.
Test 1.3.2 For each area (<area>
tag) of an image map conveying information, having a text alternative, is this alternative relevant (excluding special cases)? Test 1.3.2
If present, the value of the
alt
attribute is relevant.If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text linked by the
aria-labelledby
WAI-ARIA attribute is relevant.
Test methodology
- Find in the document the
<area>
elements with a text alternative. - For each
<area>
element, check that the text alternative is relevant. - If this is the case for each image, the test is validated.
Test 1.3.3 For each button of type image
(<input>
tag with the type="image"
attribute), having a text alternative, is this alternative relevant (excluding special cases)? Test 1.3.3
If present, the value of the
alt
attribute is relevant.If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.
Test methodology
- Find in the document the
<input>
elements with thetype="image"
attribute and a text alternative (image). - For each
<input>
element with thetype="image"
attribute, check that the text alternative is relevant. - If this is the case for each image, the test is validated.
Test 1.3.4 For each object image (<object>
tag with the type="image/..."
attribute) conveying information, having a alternative text or an alternative content, is this alternative relevant (excluding special cases)? Test 1.3.4
If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.If present, the alternative content is relevant.
Test methodology
- Find in the document the
<object>
elements with thetype="image/..."
attribute and a text alternative. - For each
<object>
element with thetype="image/..."
attribute, check that the text alternative is relevant. - If this is the case for each image, the test is validated.
Test 1.3.5 For each embedded image (<embed>
tag with the type="image/..."
attribute) conveying information, having an alternative text or an alternative content, is this alternative relevant (excluding special cases)? Test 1.3.5
If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.If present, the alternative content is relevant.
Test methodology
- Find in the document the
<embed>
elements with thetype="image/..."
attribute and a text alternative. - For each
<embed>
element with thetype="image/..."
attribute, check that the text alternative is relevant. - If this is the case for each image, the test is validated.
Test 1.3.6 For each vector image (<svg>
tag) conveying information, having a text alternative, is this alternative relevant (excluding special cases)? Test 1.3.6
If present, the content of the
<title>
element is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the WAI-ARIA
aria-labelledby
attribute is relevant.
Test methodology
- Find in the document the
<svg>
elements with a text alternative. - For each
<svg>
element, check that the text alternative is relevant. - If this is the case for each image, the test is validated.
Test 1.3.7 For each bitmap image (<canvas>
tag) conveying information, having an alternative text or an alternative content, is this alternative relevant (excluding special cases)? Test 1.3.7
If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.If present, the alternative content is relevant.
Test methodology
- Find in the document the
<canvas>
elements that have an alternative text. - For each
<canvas>
element, check that the text alternative is relevant. - If this is the case for each image, the test is validated.
Test 1.3.8 For each bitmap image (<canvas>
tag) conveying information and having an alternative content between <canvas>
and </canvas>
, is this alternative content correctly rendered (by assistive technologies)? Test 1.3.8
Test methodology
- Find in the document the
<canvas>
elements with alternative content between the<canvas>
and</canvas>
tags. - For each
<canvas>
element, check that the alternative content is correctly rendered (by assistive technologies). - If this is the case for each image, the test is validated.
Test 1.3.9 For each image conveying information with a text alternative, is the text alternative short and concise (excluding special cases)? Test 1.3.9
Test methodology
- Find in the document the images with a text alternative.
- For each image, check that the text alternative is short and concise.
- If this is the case for each image, the test is validated.
Notes and special cases
Special cases
There are special considerations when the image is used as a CAPTCHA or as a test image. In this case, where it is not possible to provide a relevant alternative without destroying the object of the CAPTCHA or test, the criterion is not applicable.
Note: the case of CAPTCHAs and test images is addressed specifically in criterion 1.4.
Mapping
WCAG 2.1 success criteria
Sufficient techniques and/or failures
EN 301 549 V3.2.1 (2021-03)
9.1.1.1 Non-text Content, 9.4.1.2 Name, Role, Value.
critère 1.4 For each image used as a CAPTCHA or test image, with a text alternative, does this alternative make it possible to identify the nature and function of the image? Criterion 1.4 Compliance level A
Tests
Test 1.4.1 For each image (<img>
tag) used as CAPTCHA or as test image, having a text alternative, is this alternative relevant? Test 1.4.1
If present, the value of the
alt
attribute is relevant.If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.
Test methodology
- Find in the document the images that are implemented by means of an
<img>
element with a text alternative and used as a CAPTCHA or as a test image. - For each image, check that the text alternative is relevant.
- If this is the case for each image, the test is validated.
Test 1.4.2 For each image map area (<area>
tag) used as a CAPTCHA or as a test image, having a text alternative, is this alternative relevant? Test 1.4.2
If present, the value of the
alt
attribute is relevant.If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text linked by the WAI-ARIA
aria-labelledby
attribute is relevant.
Test methodology
- Find in the document the
<area>
elements with a text alternative and used as a CAPTCHA or as a test image. - For each
<area>
element, check that the alternative text is relevant. - If this is the case for each image, the test is validated.
Test 1.4.3 For each button of image type (<input>
tag with the type="image"
attribute) used as a CAPTCHA or as a test image, having a text alternative, is this alternative relevant? Test 1.4.3
If present, the value of the
alt
attribute is relevant.If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.
Test methodology
- Find in the document the
<input>
elements with thetype="image"
attribute and a text alternative, and used as a CAPTCHA or as a test image. - For each
<input>
element with thetype="image"
attribute, check that the text alternative is relevant. - If this is the case for each image, the test is validated.
Test 1.4.4 For each object image (<object>
tag with the type="image/..."
attribute) used as a CAPTCHA or as a test image, having a text alternative or an alternative content, is this alternative relevant? Test 1.4.4
If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.If present, the alternative content is relevant.
Test methodology
- Find in the document the
<object>
elements with thetype="image/..."
attribute and a text alternative, and used as a CAPTCHA or as a test image. - For each
<object>
element with thetype="image/..."
attribute, check that the text alternative is relevant. - If this is the case for each image, the test is validated.
Test 1.4.5 For each embedded image (<embed>
tag with the type="image/..."
attribute) used as a CAPTCHA or as a test image, having a text alternative or an alternative content, is this alternative relevant? Test 1.4.5
If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.If present, the alternative content is relevant.
Test methodology
- Find in the document the
<embed>
elements with thetype="image/..."
attribute and a text alternative, and used as a CAPTCHA or as a test image. - For each
<embed>
element with thetype="image/..."
attribute, check that the text alternative is relevant. - If this is the case for each image, the test is validated.
Test 1.4.6 For each vector image (<svg>
tag) used as CAPTCHA or as test image, having a text alternative, is this alternative relevant? Test 1.4.6
If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.
Test methodology
- Find in the document the
<svg>
elements with a text alternative and used as a CAPTCHA or as a test image. - For each
<svg>
element, check that the alternative text is relevant. - If this is the case for each image, the test is validated.
Test 1.4.7 For each bitmap image (<canvas>
tag) used as a CAPTCHA or as a test image, having a text alternative or an alternative content, is this alternative relevant? Test 1.4.7
If present, the value of the
title
attribute is relevant.If present, the value of the WAI-ARIA
aria-label
attribute is relevant.If present, the passage of text associated via the
aria-labelledby
WAI-ARIA attribute is relevant.If present, the alternative content is relevant.
Test methodology
- Find in the document the
<canvas>
elements with a text alternative and used as a CAPTCHA or as a test image. - For each
<canvas>
element, check that the alternative text is relevant. - If this is the case for each image, the test is validated.
Mapping
WCAG 2.1 success criteria
Sufficient techniques and/or failures
EN 301 549 V3.2.1 (2021-03)
9.1.1.1 Non-text Content.
critère 1.5 For each image used as a CAPTCHA, is there an alternative access solution to the content or to the CAPTCHA function? Criterion 1.5 Compliance level A
Tests
Test 1.5.1 Does each image (<img>
, <area>
, <object>
, <embed>
, <svg>
, <canvas>
tags or tags with a WAI-ARIA role="img"
attribute) used as a CAPTCHA meet one of these conditions? Test 1.5.1
There is another form of non-graphical CAPTCHA, at least.
There is another way to access functionality that is secured by the CAPTCHA.
Test methodology
- Find in the document the images (
<img>
,<area>
,<object>
,<embed>
,<svg>
,<canvas>
elements or elements with a WAI-ARIArole="img"
attribute) used as CAPTCHA or test image. - For each image, check that there is
- either another form of non-graphical CAPTCHA, at least;
- or another solution for accessing the functionality that is secured by the CAPTCHA.
- If this is the case for each image, the test is validated.
Test 1.5.2 Does each button associated with an image (input
tag with the type="image"
attribute) used as a CAPTCHA meet one of these conditions? Test 1.5.2
There is another form of non-graphical CAPTCHA, at least.
There is another way to access the functionality secured by the CAPTCHA.
Test methodology
- Find in the document the buttons associated with an image (
<input>
elements with thetype="image"
attribute) used as a CAPTCHA or as a test image. - For each button associated with an image, check that there is
- either another form of non-graphical CAPTCHA, at least;
- or another solution for accessing the functionality that is secured by the CAPTCHA.
- If this is the case for each image, the test is validated.
Mapping
WCAG 2.1 success criteria
Sufficient techniques and/or failures
G144.
EN 301 549 V3.2.1 (2021-03)
9.1.1.1 Non-text Content.
critère 1.6 Does each image conveying information have, if necessary, a detailed description? Criterion 1.6 Compliance level A
Tests
Test 1.6.1 Does each image (<img>
tag) conveying information, which requires a detailed description, meet one of these conditions? Test 1.6.1
There is an alternative text containing a reference to a detailed description adjacent to the image.
There is an adjacent link or button giving access to the detailed description.
Test methodology
- Find in the document the images that are implemented using an
<img>
element (or an element with the WAI-ARIArole="img"
attribute) and conveying information that requires a detailed description. - For each image, check that there is
- Either a text alternative containing a reference to a detailed description adjacent to the image;
- Or a link or adjacent button giving access to the detailed description.
- If this is the case for each image, the test is validated.
Test 1.6.2 Does each object image (<object>
tag with the type="image/..."
attribute) conveying information, which requires a detailed description, meet one of these conditions? Test 1.6.2
There is an alternative text containing a reference to a detailed description adjacent to the image.
There is an adjacent link or button giving access to the detailed description.
Test methodology
- Find in the document the
<object>
elements with thetype="image/..."
attribute, which contain information requiring a detailed description. - For each
<object>
element with thetype="image/..."
attribute, check that there is- either a text alternative containing a reference to a detailed description adjacent to the image;
- or an adjacent link or button giving access to the detailed description.
- If this is the case for each
<object>
element with thetype="image/..."
attribute, the test is validated.
Test 1.6.3 Does each embedded image (<embed>
tag) conveying information, which requires a detailed description, meet one of these conditions? Test 1.6.3
There is an alternative text containing a reference to a detailed description adjacent to the image.
There is an adjacent link or button giving access to the detailed description.
Test methodology
- Find in the document the
<embed>
elements with thetype="image/..."
attribute, which contain information requiring a detailed description. - For each
<embed>
element with thetype="image/..."
attribute, check that there is- either a text alternative containing a reference to a detailed description adjacent to the image;
- or an adjacent link or button giving access to the detailed description.
- If this is the case for each
<embed>
element with thetype="image/..."
attribute, the test is validated.
Test 1.6.4 Does each button of the image type (<input>
tag with the type="image"
attribute) conveying information, which requires a detailed description, meet one of these conditions? Test 1.6.4
There is an alternative text containing a reference to a detailed description adjacent to the image.
There is an adjacent link or button giving access to the detailed description.
There is a WAI-ARIA
aria-describedby
attribute associating a passage of text acting as detailed description.
Test methodology
- Find in the document the
<input>
elements with thetype="image"
attribute, which contain information requiring a detailed description. - For each
<input>
element with thetype="image"
attribute, check that there is- either a text alternative containing a reference to a detailed description adjacent to the image;
- a link or adjacent button giving access to the detailed description;
- or a WAI-ARIA attribute aria-describedby associating a passage of text acting as a detailed description.
- If this is the case for each
<input>
element with thetype="image"
attribute, the test is validated.
Test 1.6.5 Does each vector image (<svg>
tag) conveying information, which requires a detailed description, meet one of these conditions? Test 1.6.5
There is a WAI-ARIA
aria-label
attribute containing the text alternative and a reference to an adjacent detailed description.There is a WAI-ARIA
aria-labelledby
attribute associating a passage of text acting as a text alternative and another acting as a detailed description.There is a WAI-ARIA
aria-describedby
attribute associating a passage of text acting as a detailed description.There is an adjacent link or button leading to the detailed description.
Test methodology
- Find in the document the
<svg>
elements conveying information that require a detailed description. - For each
<svg>
element, check that there is- either a WAI-ARIA
aria-label
attribute containing the text alternative and a reference to an adjacent detailed description; - or a WAI-ARIA
aria-labelledby
attribute associating a passage of text acting as a text alternative and another acting as a detailed description; - or a WAI-ARIA
aria-describedby
attribute associating a passage of text acting as a detailed description; - or a link or an adjacent button giving access to the detailed description.
- either a WAI-ARIA
- If this is the case for each
<svg>
element, the test is validated.
Test 1.6.6 For each vector image (<svg>
tag) conveying information, having a detailed description, is any reference to the detailed description in the WAI-ARIA aria-label
attribute and the associated detailed description in the WAI-ARIA aria-labelledby
or aria-describedby
attribute correctly rendered (by assistive technologies)? Test 1.6.6
Test methodology
- Find in the document the
<svg>
elements conveying information for which a detailed description is provided using anaria-label
,aria-labelledby
oraria-describedby
attribute. - For each
<svg>
element, check that the content of the detailed description is correctly rendered (by assistive technologies). - If this is the case for each
<svg>
element, the test is validated.
Test 1.6.7 Does each bitmap image (<canvas>
tag), conveying information, which requires a detailed description, meet one of these conditions? Test 1.6.7
There is a WAI-ARIA
aria-label
attribute containing the text alternative and a reference to an adjacent detailed description.There is a WAI-ARIA
aria-labelledby
attribute associating a passage of text acting as a text alternative and another acting as a detailed description.There is text content between
<canvas>
and</canvas>
referring to a detailed description adjacent to the bitmap image.There is text content between
<canvas>
and</canvas>
that acts as a detailed description.There is an adjacent link or button allowing access to the detailed description.
Test methodology
- Find in the document the
<canvas>
elements conveying information that require a detailed description. - For each
<canvas>
element, check that there is- either a WAI-ARIA aria-label attribute containing the text alternative and a reference to an adjacent detailed description;
- or a WAI-ARIA aria-labelledby attribute associating a passage of text acting as a text alternative and another acting as a detailed description;
- or a text content between
<canvas>
and</canvas>
referring to a detailed description adjacent to the bitmap image; - or a text content between
<canvas>
and</canvas>
acting as a detailed description; - or an adjacent link or button giving access to the detailed description.
- If this is the case for each
<canvas>
element, the test is validated.
Test 1.6.8 For each bitmap image (<canvas>
tag) conveying information, which implements a reference to an adjacent detailed description, is this reference correctly rendered (by assistive technologies)? Test 1.6.8
Test methodology
- Find in the document the
<canvas>
elements conveying information whose detailed description is provided by means of anaria-label
,aria-labelledby
oraria-describedby
attribute. - For each
<canvas>
element, check that the content of the detailed description is correctly rendered (by assistive technologies). - If this is the case for each
<canvas>
element, the test is validated.
Test 1.6.9 For each image (<img>
, <input>
tags with the type="image"
attribute, <area>
, <object>
, <embed>
, <svg>
, <canvas>
tags, or tags having a WAI-ARIA role="img"
attribute) conveying information, which is accompanied by a detailed description and which uses a WAI-ARIA aria-describedby
attribute, does the WAI-ARIA aria-describedby
attribute associate the detailed description? Test 1.6.9
Test methodology
- Find in the document the images (
<img>
,<input>
elements with thetype="image"
attribute,<area>
,<object>
,<embed>
,<svg>
,<canvas>
elements, or elements possessing a WAI-ARIArole="img"
attribute) conveying information whose detailed description uses a WAI-ARIAaria-describedby
attribute. - For each image, check that the content of the detailed description is correctly rendered (by assistive technologies).
- If this is the case for each image, the test is validated.
Test 1.6.10 Does each tag with a WAI-ARIA role="img"
attribute conveying information, which requires a detailed description, meet one of these conditions? Test 1.6.10
There is a WAI-ARIA
aria-label
attribute containing the text alternative and a reference to an adjacent detailed description.There is a WAI-ARIA
aria-labelledby
attribute associating a passage of text acting as a text alternative and another acting as a detailed description.There is a WAI-ARIA
aria-describedby
attribute associating a passage of text acting as a detailed description.There is an adjacent link or button leading to the detailed description.
Test methodology
- Find in the document the elements with a WAI-ARIA
role="img"
attribute that contain information requiring a detailed description. - For each
role="img"
element, check that there is- either a WAI-ARIA
aria-label
attribute containing the text alternative and a reference to an adjacent detailed description; - or a WAI-ARIA
aria-labelledby
attribute associating a passage of text acting as a text alternative and another acting as a detailed description; - or a WAI-ARIA
aria-describedby
attribute associating a passage of text acting as a detailed description; - or a link or an adjacent button giving access to the detailed description.
- either a WAI-ARIA
- If this is the case for each
role="img"
element, the test is validated.
Notes and special cases
Technical notes
In the case of SVG, the lack of support for the <title>
and <desc>
elements by assistive technologies creates a difficulty in implementing the text alternative of the image and its detailed description. In this case, it is recommended to use the WAI-ARIA aria-label
attribute to implement both the short text alternative and the reference to the adjacent detailed description or the WAI-ARIA aria-labelledby
attribute to associate the passage of texts acting as short alternative and detailed description.
The use of the WAI-ARIA aria-describedby
attribute is not recommended for linking an image (<img>
, <object>
, <embed>
, <canvas>
) to its detailed description, due to a lack of support for assistive technologies. However, when it is used, the attribute must necessarily refer to the id
of the zone containing the detailed description.
The adjacent detailed description may be implemented via a <figcaption>
tag, in which case criterion 1.9 must be checked (use of <figure>
and the WAI-ARIA role="figure"
and aria-label
attributes, in particular).
Mapping
WCAG 2.1 success criteria
Sufficient techniques and/or failures
EN 301 549 V3.2.1 (2021-03)
9.1.1.1 Non-text Content.
critère 1.7 For each image conveying information with a detailed description, is this description relevant? Criterion 1.7 Compliance level A
Tests
Test 1.7.1 Does each image (<img>
tag) conveying information, with a detailed description, meet these conditions? Test 1.7.1
The detailed description on the page and indicated by the text alternative is relevant.
The detailed description via an adjacent link or button is relevant.
The passage of text linked by the WAI-ARIA
aria-describedby
attribute is relevant.
Test methodology
- Find in the document the images that are implemented using an
<img>
element and have a detailed description. - For each image, check that the detailed description is relevant.
- If this is the case for each image, the test is validated.
Test 1.7.2 Does each button of image type (<input>
tag with the type="image"
attribute), conveying information, having a detailed description, check these conditions? Test 1.7.2
The detailed description on the page and indicated by the text alternative is relevant.
The detailed description via an adjacent link or button is relevant.
The passage of text linked by the WAI-ARIA
aria-describedby
attribute is relevant.
Test methodology
- Find in the document the
<input>
elements with thetype="image"
attribute which have a detailed description. - For each
<input>
element with thetype="image"
attribute, check that the detailed description is relevant. - If this is the case for each image, the test is validated.
Test 1.7.3 Does each object image (<object>
tag with the type="image/..."
attribute) conveying information, with a detailed description, meet these conditions? Test 1.7.3
The detailed description on the page and indicated by the text alternative is relevant.
The detailed description adjacent to the object image is relevant.
The detailed description via an adjacent link or button is relevant.
The passage of text linked by the WAI-ARIA
aria-describedby
attribute is relevant.
Test methodology
- Find in the document the
<object>
elements with thetype="image/..."
attribute which have a detailed description. - For each
<object>
element with thetype="image/..."
attribute, check that the detailed description is relevant. - If this is the case for each image, the test is validated.
Test 1.7.4 Does each embedded image (<embed>
tag with the type="image/..."
attribute) conveying information, with a detailed description, meet these conditions? Test 1.7.4
The detailed description on the page and indicated by the text alternative is relevant.
The detailed description adjacent to the embedded image is relevant.
The detailed description via an adjacent link or button is relevant.
The passage of text linked by the WAI-ARIA
aria-describedby
attribute is relevant.
Test methodology
- Find in the document the
<embed>
elements with thetype="image/..."
attribute which have a detailed description. - For each
<embed>
element with thetype="image/..."
attribute, check that the detailed description is relevant. - If this is the case for each image, the test is validated.
Test 1.7.5 Does each vector image (<svg>
tag) conveying information, with a detailed description, meet these conditions? Test 1.7.5
The detailed description on the page and indicated by the text alternative is relevant.
The detailed description on the page and indicated by the text contained in the
<desc>
or<title>
tag is relevant.The adjacent detailed description contained in the
<desc>
tag is relevant.The detailed description via an adjacent link or button is relevant.
The passage of text linked by the WAI-ARIA
aria-describedby
attribute is relevant.
Test methodology
- Find in the document the
<svg>
elements that have a detailed description. - For each
<svg>
element, check that the detailed description is relevant. - If this is the case for each image, the test is validated.
Test 1.7.6 Does each bitmap image (<canvas>
tag) conveying information, with a detailed description, meet these conditions? Test 1.7.6
The detailed description on the page and indicated by the text alternative is relevant.
The detailed description on the page and indicated by the text contained between
<canvas>
and</canvas>
is relevant.The detailed description contained between
<canvas>
and</canvas>
is relevant.The detailed description adjacent to the bitmap image is relevant.
The detailed description via an adjacent link or button is relevant.
The passage of text linked by the WAI-ARIA
aria-describedby
attribute is relevant.
Test methodology
- Find in the document the
<canvas>
elements that have a detailed description. - For each
<canvas>
element, check that the detailed description is relevant. - If this is the case for each image, the test is validated.
Mapping
WCAG 2.1 success criteria
Sufficient techniques and/or failures
EN 301 549 V3.2.1 (2021-03)
9.1.1.1 Non-text Content.