Asqatasun v4 - Summary

Asqatasun v4 - RGAA 3.0 - Rule 1.4.6

Summary

This test consists in detecting captcha svg and thus defining the applicability of the test.

Human check will be then needed to determine whether the alternative is pertinent.

Business description

Criterion

1.4

Test

1.4.6

Description

Does each vector image (svg tag), used as a CAPTCHA or test image, with a text alternative provided via the aria-label property or the desc tag, meet the following conditions?

Level

A

Technical description

Scope

Page

Decision level

Semi-Decidable

Algorithm

Selection

Set1

All the <svg> tags of the page not within a link with a not empty "aria-label" attribute or a not empty <desc> child tag (css selector : svg[aria-label]:not([aria-label~=^\s*$]:not(a svg), svg:not(a svg):has(desc:not(:matchesOwn(^\s*$)))

Set2

All the elements of Set1 identified as a CAPTCHA (see Notes for details about CAPTCHA characterisation).

Process

Test1

For each element of Set2, raise a MessageA

MessageA : Check captcha alternative

Analysis

Not Applicable

The page has no <svg> tag with an "aria-label" attribute or a <desc> child tag identified as a captcha (Set2 is empty)

Pre-qualified

In all other cases

Notes

Captcha detection

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

TestCases

TestCases files for rule 1.4.6