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

Moved permanently 6

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

Status

Draft


Description

This test checks that there are alt attributes in all area elements where those are needed (applied to a rendered image).

Background

Assumptions

This test makes no assumptions.

Test properties

Property Possible values
Success Criterion 1.1.1 Non-text Content
Test mode automatic
Test environment rendered page
Test subject single web page

Test procedure

Selector

Test mode: earl:automatic


Select the area element.

Step 1

Test mode: earl:automatic


  • If the map element of the area element is used by an img element.
    • Return SC111-area-altpass1
Property Value
TestCase SC111-area-alt
Identifier SC111-area-altpass1
Outcome passed
Pointer position
Info Area alt not needed for map is not applied to an image.


Step 2

Test mode: earl:automatic


  • If none of the img elements that uses the map element of the area element is rendered
    • Return SC111-area-altpass2
Property Value
TestCase SC111-area-alt
Identifier SC111-area-altpass2
Outcome passed
Pointer position
Info Area alt not needed for img is not rendered.


Step 3

Test mode: earl:automatic


  • If area element does not contain alt attribute
    • Return SC111-area-altfail1
Property Value
TestCase SC111-area-alt
Identifier SC111-area-altfail1
Outcome failed
ErrorMessage Area element has no alt attribute.
Pointer position
Info


  • Else
    • Return SC111-area-altcanttell1
Property Value
TestCase SC111-area-alt
id SC111-area-altcanttell1
Outcome cantTell
ErrorMessage Human input required
Pointer position
Info Unable to automatically check that the value of the alt attribute properly describes the area