Warning:
This wiki has been archived and is now read-only.

SC1-1-1-long-text-alternative

From Automated WCAG Monitoring Community Group
(Redirected from SC1-1-1-img-longdesc)
Jump to: navigation, search

This test case belongs to 1.1.1 Non-text Content

Status

Draft


Description

This test checks the sufficient provision of a long text description for non-text content.

Background

Assumptions

Test properties

Property Value
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


//*[self::img[@longdesc] or self::img[@aria-describedby]]

Step 1

Test mode: earl:automatic


Check if the longdesc attribute value is a valid URL

if yes continue with #Step 2

else return

Property Value
TestCase SC1-1-1-img-longdesc
Identifier SC1-1-1-img-longdesc-fail1
Outcome failed
ErrorMessage LONGDESC attribute value is not a valid URL
Pointer position
Info


Step 2

Test mode: earl:automatic


Check if the resource referenced in the longdesc attribute value exists

if yes, continue with #Step 3

else return

Property Value
TestCase SC1-1-1-img-longdesc
Identifier SC1-1-1-img-longdesc-fail2
Outcome failed
ErrorMessage LONGDESC reference does not exist.
Pointer position
Info The URL given as LONGDESC value was not retrievable.


Step 3

Test mode: earl:manual


User input question

Item presented to the user: Image with the corresponding long description

Question: Does the text sufficiently describe the image?

Answer options: "yes/no"

Help text: If the images contribute meaning to the page or provide any functionality or convey information additional to the pages text, this must be described.

Repair suggestion: If no, could you suggest a sufficient textual alternative?

Properties of the test step:

  • context-sensitive = yes
  • user interaction (with the web content) required = yes


if yes, return

Property Value
TestCase SC1-1-1-img-longdesc
Identifier img-longdesc-pass1
Outcome passed
Pointer position
Info


else return

Property Value
TestCase SC1-1-1-img-longdesc
Identifier SC1-1-1-img-longdesc–fail3
Outcome failed
ErrorMessage Long description not sufficiently descriptive.
Pointer position
Info