Asqatasun v4 - Summary

Asqatasun v4 - RGAA 3.0 - Rule 9.1.1

Summary

This test consists in checking whether a heading of level 1 is present on the page.

Business description

Criterion

9.1

Test

9.1.1

Description

Is there a level 1 heading (h1 tag or a tag with an ARIA role="heading" associated to an aria-level="1" property) on each Web page?

Level

A

Technical description

Scope

Page

Decision level

Decidable

Algorithm

Selection

Set1

<h1> tags included in the <body> tag and all the tags with a "role" attribute equals to "heading" and an "aria-level" attribute equals to "1" (h1, [role=heading][aria-level=1])

Set2

The <h1> tag of the page within the <head> tag (head title)

Process

Test1

Test whether Set1 is not empty. If false, raise a MessageA

MessageA : Heading of level 1 missing

Analysis

Passed

The page has a heading of level1 (Set1 is not empty)

Failed

The page has no heading of level1 (Set1 is empty)

TestCases

TestCases files for rule 9.1.1