A page should have no more than one banner landmark
Each page should expose one banner landmark: the site-wide header with the logo and main navigation. This is a best practice, not a WCAG requirement, and it gives screen reader users one clear place to jump to.
| Rule ID | landmark-no-duplicate-banner |
|---|---|
| Impact | Moderate |
| Success criterion | Best practice, not a WCAG requirement |
| Needs a change in the website’s code |
Example
<header class="promo-bar">
<p>Summer sale: 20% off all paperbacks</p>
</header>
<header>
<a href="/">Harbor Books</a>
</header>The landmarks list shows two “banner” entries; jumping to the banner may land on the sale notice.
<div class="promo-bar">
<p>Summer sale: 20% off all paperbacks</p>
</div>
<header>
<a href="/">Harbor Books</a>
</header>One banner landmark: jumping to it lands on the Harbor Books header.
Why it matters
Screen reader users use landmarks as a map of the page. The banner is where they expect the site name, logo, search and main menu. With two banners, the landmarks list shows two identical entries, and users have to visit both to find out which one is the real header.
The duplicate usually comes from a promotion bar, a cookie notice or a nested template that also uses a top-level <header>. Keyboard users who rely on landmark shortcuts lose time on every page.
This is a best practice, not a WCAG requirement.
How to fix it
Keep one top-level banner and change the others.
A promotion or announcement bar. Use a plain <div>, or a named <aside> if it is a distinct block of supplementary content:
<div class="promo-bar">
<p>Summer sale: 20% off all paperbacks</p>
</div>
A header for an article, card or section. Put it inside <article> or <section>. There, <header> is not a banner landmark:
<article>
<header>
<h2>New this week</h2>
</header>
</article>
Templates that each add a header. In layouts with partials or components, make sure only the site layout renders the top-level <header>, and that no component adds role="banner".
A hidden mobile and desktop header. Two versions are fine if one is hidden with display: none or the hidden attribute, because hidden elements are not landmarks.
Checklist
- Keep one top-level header or role="banner" per page.
- Turn promotion bars and notices into plain divs.
- Wrap section headers in article or section elements.
- Hide the unused header variant with display: none or hidden.
How the check works
The check counts the banner landmarks visible to assistive technology: elements with role="banner", and <header> elements that are not inside <article>, <aside>, <main>, <nav> or <section>. Hidden elements are ignored. It passes when there is at most one, and fails when there are two or more.
Resources
- Landmark regions W3C WAI
Updated October 27, 2026