This test consists in checking whether a heading of level 1 is present on the page.
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?
<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])
<h1> tag of the page within the
<head> tag (head title)
Test whether Set1 is not empty. If false, raise a MessageA
MessageA : Heading of level 1 missing
- code : H1TagMissing
- status: Pre-Qualified
- present in source : no
The page has a heading of level1 (Set1 is not empty)
The page has no heading of level1 (Set1 is empty)