Asqatasun v4 - Summary

Asqatasun v4 - RGAA 3.2016 - Rule 8.3.1

Summary

We check whether a language is specified for each textual element of the page

Business description

Criterion

8.3

Test

8.3.1

Description

Pour chaque page Web, l’indication de langue par défaut vérifie-t-elle une de ces conditions ?

Level

A

Technical description

Scope

Page

Decision level

Decidable

Algorithm

Selection

Set1

The <html> tag with a "lang" or "xml:lang" attribute.

Set2

The tags with a "lang" or "xml:lang" attribute.

Set3

The textual tags without "lang" or "xml:lang" attribute considering that these attributes can be set to the current tag or to one of its ascendants.

Process

Test1

Test whether Set2 is empty. If yes, raise a MessageA

Test2

Test whether Set1 is empty and Set2 and Set3 are not. If yes, raise a MessageB

MessageA : Lang Attribute Missing On Whole Page
MessageB : Lang Attribute Missing On Html

Analysis

Passed

Failed

TestCases

TestCases files for rule 8.3.1