Asqatasun v4 - RGAA 3.0 - Rule 1.4.4
This test consists in detecting captcha object images and thus defining the applicability of the test.
Human check will be then needed to determine whether the alternative is pertinent.
For each image object (
object tag with the attribute
type="image/…"), used as a CAPTCHA or test image, with a text alternative, does the text alternative describe the nature and purpose of the image?
<object> tags with a
"type" attribute that starts with "image/...", not within a link (css selector : object[type^=image]:not(a object))
All the elements of Set1 identified as a CAPTCHA (see Notes for details about CAPTCHA characterisation).
For each element of Set2, raise a MessageA
MessageA : Check captcha alternative
- code : CheckCaptchaAlternative
- status: Pre-Qualified
- parameter : text,
"data"attribute, tag name, snippet
- present in source : yes
The page has no
<object> tag with an
"type" attribute that starts with "image" identified as a captcha (Set2 is empty)
In all other cases
An element is identified as a CAPTCHA when the "captcha" occurrence is found :
- on one attribute of the element
- or within the text of the element
- or on one attribute of one parent of the element
- or within the text of one parent of the element
- or on one attribute of a sibling of the element
- or within the text of a sibling of the element