Warning:
This wiki has been archived and is now read-only.
Moved permanently 4
From Automated WCAG Monitoring Community Group
Status
Draft
Contents
Description
This test checks that the alt
attribute and the body-text of <applet>
elements are equal and provide sufficient descriptions.
Background
Assumptions
Test properties
Property | Possible values |
---|---|
Success Criterion | 1.1.1 Non-text Content |
Test mode | SemiAuto |
Test environment | rendered page |
Test subject | web page state |
Test procedure
Selector
Test mode:
earl:automatic
//img[not(@alt="")]
Step 1
Test mode:
earl:automatic
Check if the alt
attribute value is a filename or an URL
if yes, return
Property | Value |
---|---|
TestCase | SC1-1-1-applet-nonempty-alt |
Identifier | SC1-1-1-applet-nonempty-alt-fail1 |
Outcome | failed |
ErrorMessage | ALT attribute value is a filename or URL |
Pointer | position |
Info |
else continue with #Step 2
Step 2
Test mode:
earl:automatic
Check if the alt
attribute value is Non-empty, as defined (contain 2 or more characters that are not white space characters or punctionmarks).
if yes, return
Property | Value |
---|---|
TestCase | SC1-1-1-applet-nonempty-alt |
Identifier | SC1-1-1-applet-nonempty-alt-fail2 |
Outcome | failed |
ErrorMessage | ALT attribute value is not sufficiently descriptive. |
Pointer | position |
Info | ALT attribute value does not contain 2 or more characters that are not white space characters or punctionmarks. |
else continue with #Step 3
Step 3
Test mode:
earl:automatic
Check if the alt
attribute value differs from applet
body text.
if yes, return
Property | Value |
---|---|
TestCase | applet-nonempty-alt |
Identifier | applet-nonempty-alt–fail3 |
Outcome | failed |
ErrorMessage | ALT attribute value and body text differ. |
Pointer | position |
Info |
else continue with #Step 4