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

SC1-1-1-longdesc

From Automated WCAG Monitoring Community Group
Jump to: navigation, search

This test case belongs to 1.1.1 Non-text Content

Status

Version 1.1: Completed

Description

This test checks the sufficient provision of a long text description for non-text content using the longdesc attribute. This test doesn't check the accessibility of a page referenced to from the longdesc attribute and this page must be checked separately.

Background

Assumptions

  • The test assumes that a page referenced within the longdesc attribute is accessible.

Test properties

Property Value
Test name Proper use of longdesc
Success Criterion 1.1.1 Non-text Content
Test mode SemiAuto
Test environment rendered page
Test subject web page state
User expertise and skills No prior knowledge
User profile Requires sight

Test procedure

Selector

Test mode: earl:automatic


//img[@longdesc]

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-longdesc
Identifier SC1-1-1-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-longdesc
Identifier SC1-1-1-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


Concatenate the results of Text Alternative Computation Algorithm run on the element and assign it to variable T1.

User input question

Item presented to the user: Image with T1 and the content of the page referenced by the longdesc at the referenced anchor point (if applicable)

Question: Does the alternative provide an extended description of the image additionally to T1?

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. The alternative may be an entire page. The main content of which should provide the description.

Repair suggestion: If no, could you suggest an alternative, which would sufficiently describe the image?

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-longdesc
Identifier SC1-1-1-longdesc-pass1
Outcome passed
Pointer position
Info


else return

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