RGAA 3.0 - Rule 1.9.5

Summary

This test consists in detecting "text image" embed tags 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.5

Description

Each embedded image of text (embed 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 <embed> tags with a "type" attribute that starts with "image/..." not identified as captcha (see Notes about captcha detection) (embed[type^=image])

Process

For each element of Set1, raise a MessageA

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

Analysis

Not Applicable

The page has no <embed> tag with a "type" attribute that starts with "image/..." (Set1 is empty)

Pre-qualified

The page has at least one <embed> 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.5