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

SC1-1-1-object

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

Status

Draft

Description

This test checks that for each object element a sufficient description exists inside the objects body.

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

//object

Step 1

Test mode: earl:automatic


Check if the object element has a descendant, which is of type text

if yes, continue with #Step 4

else continue with #Step 2

Step 2

Test mode: earl:automatic


Check if the object element has a descendant, which is of type img

if yes, continue with #Step 3

else return

Property Value
TestCase SC111-object
Identifier SC111-object-fail1
Outcome failed
ErrorMessage No text alternative for object.
Pointer position
Info


Step 3

Test mode: earl:automatic


Check if the img element has a non-empty alt attribute

if yes, continue with #Step 4

else return

Property Value
TestCase SC111-object
Identifier SC111-object-fail2
Outcome failed
ErrorMessage No text alternative for image in object body.
Pointer position
Info


Step 4

Test mode: earl:manual


Present the object with the corresponding text alternative to the user.
Question: Does the text sufficiently describe the object and its functionality?

if yes, return

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


else return

Property Value
TestCase SC1-1-1-object
Identifier SC1-1-1-object-fail3
Outcome failed
ErrorMessage Text alternative not sufficiently descriptive.
Pointer position
Info