Asqatasun v4 - Summary

Asqatasun v4 - AccessiWeb 2.2 - Rule 1.6.5

Summary

This test consist in checking whether an informative image form button has a detailed description if necessary

Business description

Criterion : 1.6

Test : 1.6.5

Test description :

Does each image form button (input tag with the attribute type="image", requiring a detailed description, pass one of the conditions below?

Level : Bronze

Technical description

Scope : page

Decision level : semidecidable

Algorithm

Selection

Set1 (input tags with a type attribute that starts with "image" identified as an informative image form button from html markers)

All the input tags with a type attribute that starts with "image" and with an id attribute or a class attribute or a role that matches one of the values set by the user through the "INFORMATIVE_IMAGE_MARKER" parameter.

Set2 (input tags with a type attribute that starts with "image" not identified as an informative image form button from html markers)

All the input tags with a type attribute that starts with "image" that don't have an id attribute or a class attribute or a role that matches one the values set by the use through the "DECORATIVE_IMAGE_MARKER" parameter or the "INFORMATIVE_IMAGE_MARKER" parameter. That means select all the input tags with a type attribute that starts with "image" of the page when these parameters are empty.

Process

Test1

For each element of Set1, raise a MessageA

Test2

For each element of Set2, raise a MessageB

MessageA :
MessageB :

Analysis

Not Applicable

Set1 and Set2 are empty (the page has no input tag with a type attribute that starts with "image")

Pre-Qualified

In all other cases