The main landmark should not be contained in another landmark
Log in (Premium content) Request a demo
It is a best practice to ensure the main landmark is not contained within another landmark. All content should be contained within distinct regions such as the header (
role="banner"), content (
role="main"), and footer (
The Algorithm, in Simple Terms
Why this is Important
Navigating a web page is far simpler for screen reader users if all of the content is split between a number of high level sections. Content outside of these sections is difficult to find and its purpose may be unclear.
How to Fix the Problem
Ensure all content is contained within a landmark region, designated with HTML5 landmark elements and/or ARIA landmark regions.
- HTML 4
- HTML 5