RGAA 3.0 - Rule 1.9.4

Summary

This test consists in detecting “text image” objects and thus defining the applicability of the test.

Human check will be then needed to determine whether the detected elements containing text can be replaced by styled text.

Business description

Criterion

1.9

Test

1.9.4

Description

Each text image object (object tag with the attribute type=“image/…") must be replaced with styled text if possible. Has this rule been followed (except in particular cases)?

Level

AAA

Technical description

Scope

Page

Decision level

Semi-Decidable

Algorithm

Selection

Set1

All the <object> tags with a "type" attribute that starts with “image/…” not identified as captcha (see Notes about captcha detection) (object[type^=image])

Process

For each element of Set1, raise a MessageA

MessageA

  • code : ManualCheckOnElements
  • status: Pre-Qualified
  • parameter : "data" attribute, tag name, snippet
  • present in source : yes

Analysis

Not Applicable

The page has no <object> tag with a “type” attribute that starts with “image/…” (Set1 is empty)

Pre-qualified

The page has at least one <object> tag with a “type” attribute that starts with “image/…” (Set1 is not empty)

Notes

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

  • on one attribute of the element
  • or within the text of the element
  • or on one attribute of one parent of the element
  • or within the text of one parent of the element
  • or on one attribute of a sibling of the element
  • or within the text of a sibling of the element

TestCases

TestCases files for rule 1.9.4