Skip to main content
No Result Found

missing-landmark-region

Rule Severity : Moderate

Description

Content must be placed under the correct ARIA landmark regions, such as menu, contentinfo, or banner, to ensure proper navigation and structure for assistive technology users. Landmarks help users understand the layout and quickly navigate to key sections of a page.

The missing-landmark-region rule aligns with:

  • WCAG Success Criterion 1.3.1 (Info and Relationships), which requires that information and relationships must be programmatically determinable.
  • WCAG Success Criterion 2.4.1 (Bypass Blocks), which requires that a mechanism is available to bypass blocks of content that are repeated on multiple web pages.

Examples

In the following example, a navigation menu is not wrapped in a <nav> landmark or labeled with role="navigation", violating the missing-landmark-region rule.

Incorrect Sample
Copy icon Copy

In the following corrected example, the navigation menu is properly placed inside a <nav> landmark:

Correct Sample
Copy icon Copy

How to fix?

To fix violations of the missing-landmark-region rule:

  1. Identify content that belongs in a landmark region (e.g., navigation, header, footer).
  2. Wrap the content in the appropriate landmark element (<nav>, <header>, <footer>, etc.) or use ARIA roles (role="navigation", role="banner", etc.).
  3. When two landmarks of the same type exist on a page, provide an accessible name to the common landmarks (using aria-label or aria-labelledby). If using the role="region", ensure that an accessible name is always provided.

Reference

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle