Accessibility Wiki

Banner and contentinfo must be top-level landmarks

Rule landmark-toplevel · Structure & semantics · impact moderate · Static + live

↩ Back to the rules index · WCAG cross-reference

Why it matters

The banner (page header) and contentinfo (page footer) landmarks are meant to be page-level. Nesting them inside another landmark changes their meaning and confuses landmark navigation.

How to fix

Place the page

and
as direct children of , not inside
/