Asqatasun v4 - Summary

Asqatasun v4 - RGAA 3.2016 - Rule 9.1.4

Summary

This test consists in checking whether each heading of the page is relevant

Business description

Criterion

9.1

Test

9.1.4

Description

Dans chaque page Web, chaque titre (balise h ou balise possédant un rôle ARIA "heading" associé à une propriété aria-level) est-il pertinent ?

Level

A

Technical description

Scope

Page

Decision level

Semi-Decidable

Algorithm

Selection

Set1

All the <Hx> tags where x is comprise between 1 and 6 and all the tags with a "role" attribute equals to "heading" and an "aria-level" attribute (h1, h2, h3, h4, h5, h6, [role=heading][aria-level])

Process

 Test1

For each element of Set1, we check whether the content of the tag is pertinent (see Notes about relevancy detection).

For each element returning false in Test1, raise a MessageA. Raise a MessageB instead.

MessageA : Not pertinent heading
MessageB : Check heading pertinence

Analysis

Not Applicable

(Set1 is empty)

Failed

At least one element of Set1 has an empty content or a content only composed of non alphanumerical characters (Test1 returns false for at least one element)

Pre-Qualified

In all other cases

Notes

Definition of not-pertinent legend :

A heading is seen as not-pertinent in the following cases :

TestCases

TestCases files for rule 9.1.4