third_party/aria-practices/src/content/patterns/landmarks/examples/general-principles.html
Landmarks provide a powerful way to identify the organization and structure of a web page. The structural information conveyed visually to users should be represented programmatically in the markup using landmark roles. The use of landmarks roles support keyboard navigation to the structure of a web page for screen reader users, and can be used as targets for author supplied "skip links" and browser extensions for enhanced keyboard navigation.
This section is intended to assist designers, developers and quality assurance staff in defining and understanding the importance of logical, usable, and accessible layout for assistive technologies using HTML sectioning elements and ARIA landmark roles.
Due to the complexity of today's web content, if using landmarks, all perceivable content should reside in a semantically meaningful landmark in order that content is not missed by the user.
Step 1: Identify the logical structure
Step 2: Assign landmark roles to each area
banner, main, complementary and contentinfo landmarks should be top level landmarks.Step 3: Label each area
h1-h6), it can be used as the label for the area using aria-labelledby attribute.aria-label attribute.