Checks for proper landmark regions (main, nav, footer)Documentation Index
Fetch the complete documentation index at: https://docs.squirrelscan.com/llms.txt
Use this file to discover all available pages before exploring further.
| Rule ID | a11y/landmark-regions |
| Category | Accessibility |
| Scope | Per-page |
| Severity | info |
| Weight | 3/10 |
Solution
Landmark regions help screen reader users navigate page structure. Use semantic HTML5 elements:<main> for primary content, <nav> for navigation, <header> for page header, <footer> for footer, <aside> for sidebars, and <section>/<article> for content sections. Alternatively, use ARIA roles: role=‘main’, role=‘navigation’, etc. Each page should have exactly one <main> element.
Enable / Disable
Disable this rule
squirrel.toml
Disable all Accessibility rules
squirrel.toml
Enable only this rule
squirrel.toml