Accessibility · Landmarks and structure

Banner landmark inside another landmark

This page's site header, the banner landmark, sits inside the main landmark instead of at the top level of the page.

How this page is built

The usual site header has been taken out of the top of this page. Instead, the box below, inside the main content, has role="banner".

Why it matters

The banner landmark holds the site-wide header. Screen reader users jump to it from a list of landmarks. Inside another landmark it is no longer at the top level, so it can be announced as part of the main content or skipped in landmark navigation.

Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.

How to check it

Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule landmark-banner-is-top-level.

How to fix it

Keep the site header outside every other landmark, as a direct child of the body.

Back to all tests