Asqatasun v4 - AccessiWeb 2.2 - Rule 1.4.6
This test consists in checking the pertinence of the altenative associated with an embedded image used as a CAPTCHA.
Criterion : 1.4
Test : 1.4.6
Test description :
For each embedded image (embed tag with the attribute type="image/...") used as CAPTCHA or as test image and with a text alternative, does the text alternative between <noembed> and </noembed> allow to identify the kind and the purpose of the image?
Level : Bronze
Scope : page
Decision level :semidecidable
If the "captcha" keyword is found on the page, select all the
embed tags not within an
a tag (in this case, the embedded image would be considered as a link) with an
type attribute that starts with "image".
Select from elements of Set1, the ones with an attribute or the text that contains the "captcha" keyword or the ones with a parent whom an attribute or the text contains the "captcha" keyword.
For each element of Set2, raise a MessageA
MessageA : Check the pertinence of the alternative of the embedded image used as a CAPTCHA.
- code : CheckCaptchaAlternative
- status: Pre-Qualified
- parameter :
- present in source : yes
The markup doesn't contain the "captcha" keyword.
Set2 is empty (The page has no
embed tag with a
type attribute that starts with "image" and with an attribute or a text that contains the "captcha" keyboard)
In all other cases