main landmark: must be top-level

Rule ID Landmark 11
Definition The main landmark must be a top-level landmark.
Purpose
  • Top-level landmarks are the easiest landmarks to find and navigate to using assistive technologies.
Required No for HTML4 Legacy Techniques ruleset mapping
WCAG Success Criteria

1.3.1 Info and Relationships (Level A, Primary Success Criterion)

Rule Category Landmarks
Scope Element
Target Resources main landmark
  • main
Techniques
  • When creating the landmark structure on the page, ensure that the main landmark is a top-level landmark (i.e., it is not contained within any other landmarks).
  • The main element or an element with [role="main"] attribute defines a main landmark.
Informational Links