Asqatasun v4 - Summary

Asqatasun v4 - RGAA 3.2016 - Rule 1.6.7

Summary

This test consists in detecting informative svg images with a <desc> child tag or a "aria-label" attribute and thus defining the applicability of the test.

Human check will be then needed to determine whether the detailed description is well rendered by assistive technologies.

Business description

Criterion

1.6

Test

1.6.7

Description

Pour chaque image vectorielle (balise svg) porteuse d’information, qui implémente une référence à une description détaillée adjacente via une propriété aria-label ou une balise desc, cette référence est-elle correctement restituée par les technologies d’assistance ?

Level

A

Technical description

Scope

Page

Decision level

Semi-Decidable

Algorithm

Selection

Set1

All the <svg> tags of the page not within a link, not identified as captcha and with a not empty <desc> child tag (see Notes about captcha detection) (svg:not(a svg):has(desc:not(:matchesOwn(^\s*$)))

Set2

All the <svg> tags of the page not within a link, not identified as captcha and with a not empty "aria-label" attribute (see Notes about captcha detection) (svg[aria-label]:not([aria-label~=^\s*$]:not(a svg))

Set3

All the elements of Set1 identified as informative image by marker usage (see Notes for details about detection through marker)

Set4

All the elements of Set2 identified as informative image by marker usage (see Notes for details about detection through marker)

Set5

All the elements of Set1 identified neither as informative image, nor as decorative image by marker usage (see Notes for details about detection through marker)

Set6

All the elements of Set2 identified neither as informative image, nor as decorative image by marker usage (see Notes for details about detection through marker)

Process

Test1

For each element of Set2 and Set3, raise a MessageA.

Test2

For each element of Set4 and Set5, raise a MessageB.

MessageA : Check the restitution by assistive technologies of the description of informative images
MessageB : Check nature of image and the restitution by assistive technologies of their description

Analysis

Not Applicable

The page has no svg image with a not empty <desc> child tag or a not empty "aria-label" attribute(Set1 and Set2 are empty)

Pre-Qualified

In all other cases

Notes

Markers

Informative images markers are set through the INFORMATIVE_IMAGE_MARKER parameter.

Decorative images markers are set through the DECORATIVE_IMAGE_MARKER parameter.

The value(s) passed as marker(s) will be checked against the following attributes:

Captcha detection

An element is identified as a CAPTCHA when the "captcha" occurrence is found :

TestCases

TestCases files for rule 1.6.7