Page Title: Slot Pulsa - Daftar Situs Judi Slot Gacor Terbaik 2023
August 15, 2023 04:36

h1 must be in main or banner landmark

Actions

Severity Action
no actions

Details

Rule ID Heading 2
Definition If the page contains h1 element and either a main or banner landmark, the h1 element must be a child of either the main or banner landmark.
Purpose
  • An h1 heading should primarily be used to identify the content on the specific page within the website and be placed at the beginning of the main content to provide an important navigation point for users of assistive technologies, allowing them to easily find the main content of the page.
  • An h1 heading can also be used (but not required) to provide a label for the website and when it is used for this purpose it should be placed in the banner element.
  • Including both a main landmark and an h1 element provides a redundant way for users of assistive technologies to find the main content of a web page.
WCAG Success Criteria

2.4.6 Headings and Labels (Level AA, Primary Success Criterion)

Rule Category Headings
Scope Element
Target Resources h1 elements and elements with ARIA attribute role="main" or role="banner"
  • h1
Techniques
  • This rule supports the coding practice of reserving the h1 element for titling the main content area of a web page.
  • Include an h1 element at the beginning of each main landmark.
  • The h1 element should describe the main content or purpose of the page.
  • If there is more than one main landmark, use the aria-labelledby attribute on each to reference an h1 element that provides its accessible name.
  • An h1 element being used to label the the website must be placed inside the banner element.
Informational Links

Element Results

Element Identifier Result Element Position Message

Column Definitions

Element Identifier
Information about the element associated with the result.
The information typically includes the tag name, accessible name or other information related to the rule requirements.
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level rule.
Element Position
The element position is based on the DOM order of elements in the page.
The element position maybe useful in helping to locate a specific element on the page evaluated (e.g smaller numbers are typically toward the beginning of a page and larger numbers typically toward the end of a page).
Element position 1 is the first element.
The highest element position is the last element.
Element position values for most rule/page results will not be consecutive since a rule only applies to a sub set of elements found on a page.