Skip to main content
WCAGrules
Quick navigation

Add landmarks so users can skip around

Landmark roles carve a page into regions software can list and jump between. banner, navigation, main, complementary, contentinfo, search, form. W3C lists ARIA11 as sufficient for 1.3.1 Info and Relationships. It is also sufficient for 2.4.1 Bypass Blocks, on the path where repeated material is grouped so it can be skipped, and for the AAA rule about identifying the purpose of regions. Native HTML elements produce most of these implicitly, which is the better route where one exists. The role attribute is for the cases HTML has no element for, and search is the one nearly every site misses. Where a page has two landmarks of the same type, two navigation blocks or two regions, each needs its own name before either is useful.

How we find it in an audit

Missing landmarks, content sitting outside every landmark, and duplicate unnamed landmarks are automated finds. The judgment is coverage. We open the landmark list on each template and check it against what a sighted visitor can see, because a page where half the content sits outside any region gives a listener a map with holes in it.

How affected users experience it

Landmark navigation is one keystroke, and it is how a lot of screen-reader users start on an unfamiliar page. With a real map they go straight to main and begin reading the thing they came for. With no landmarks the keystroke does nothing, and the route to the content is through the logo, the utility links, the menu and the promo bar, on every page of the site.

Passes vs. fails

Passes: headings exist in the code. Fails: one flat wall of text.

Passes

<header>Site name</header>
<nav aria-label="Main">Menu</nav>
<form role="search" aria-label="Site search">Search field</form>
<main>Article</main>
<footer>Contact details</footer>

Fails

<div class="header">Site name</div>
<div class="sidebar">Menu</div>
<div class="content">Article</div>

How this gets tested

The W3C publishes test rules that define what a checker looks for here.

Other ways to satisfy this rule

52 guides on this site are filed under 1.3.1 Info and Relationships. W3C lists this one as sufficient for that rule on its own. Implement it correctly, in a way your readers' software actually supports, and the rule is met.

This guide is our interpretation of W3C technique ARIA11: Using ARIA landmarks to identify regions of a page. W3C publishes its techniques as guidance rather than as the standard, and says so on every one of them. The success criterion is what conformance is measured against, and a technique is one documented way to meet it.

Go somewhere useful

Find tools, resources and your workspace.

29 destinations