Using Landmarks means organizing your page into clear structural regions like header, navigation, main content, sidebar, and footer. Screen readers use these landmarks to let users jump directly to the section they need. Consistent landmark usage makes your site much easier to navigate. Landmarks are semantic HTML elements or ARIA roles that define the major structural regions of a page — the header, navigation, main content, complementary sidebars, and footer. For sighted users, these regions are visually obvious through layout and design. For screen reader users, landmarks serve the same purpose programmatically. Instead of tabbing through every single element on the page to find the main content, a screen reader user can pull up a list of landmarks and jump directly to the section they want. It is like having a table of contents built into the page structure itself. Why It Matters - Screen reader users navigate by landmarks. Without landmarks, screen reader users must tab through the entire page sequentially to find what they need. With landmarks, they can jump directly to the navigation, the main content, or the footer in one step.
- It makes your page structure explicit. Landmarks force you to think about the logical organization of your page. A page with clear landmarks has clear structure — and that clarity benefits every user and every tool that tries to understand your content.
- It is expected by assistive technology. Modern screen readers actively look for landmarks and present them as navigation shortcuts. Pages without landmarks feel disorganized and frustrating to navigate for users who depend on this feature.
- HTML5 elements do the work for you. Using semantic elements like
<header>, <nav>, <main>, <aside>, and <footer> automatically creates landmarks. You get accessibility benefits by simply using the right HTML elements. How to Implement It - Use semantic HTML elements. Wrap your page header in
<header>, your navigation in <nav>, your primary content in <main>, sidebars in <aside>, and your page footer in <footer>. These elements automatically create landmarks. - Use only one
<main> element. Each page should have exactly one <main> element containing the primary content. This tells assistive technology where the core content lives and provides a reliable jump target. - Label duplicate landmark types. If you have multiple
<nav> elements (like a primary navigation and a footer navigation), give each one a unique aria-label so screen reader users can tell them apart. "Primary navigation" and "Footer navigation" are much more helpful than two unlabeled "navigation" landmarks. - Ensure all content lives within a landmark. Every piece of content on the page should be inside a landmark region. Content floating outside of any landmark is "orphaned" and harder for screen reader users to find and contextualize.
- Keep the structure consistent across pages. Users learn your site's landmark structure and expect it to remain the same from page to page. Consistent placement of header, navigation, main, and footer landmarks builds familiarity and efficiency.
Common Mistakes - Using divs for everything. A
<div> has no semantic meaning. Wrapping your page in <div id="header">, <div id="nav">, and <div id="main"> does not create landmarks. Use the actual semantic elements instead. - Overusing landmarks. Not every section of the page needs to be a landmark. Too many landmarks create noise and make the landmark list as overwhelming as tabbing through the full page. Stick to the major structural regions.
- Forgetting to label duplicate landmarks. Multiple navigation or complementary landmarks without unique labels force screen reader users to enter each one to figure out which is which. Always label duplicates clearly.
- Nesting landmarks incorrectly. A
<main> element should not be inside a <header> or <aside>. Landmarks have a logical hierarchy — main content is a top-level region, not a subsection of something else. Bottom Line: Use semantic HTML elements to create landmarks, include exactly one main element, label duplicate landmark types, place all content within a landmark region, and keep the structure consistent. Good landmarks give screen reader users the same quick navigation that visual layout gives sighted users. Hits - 210 Synonyms: ARIA Landmarks, Page Regions |
-
-
-
-
Follow us around the web: