Custom landmarks

Elements like headers, footers, and navigation are built into HTML as they’re common to most websites, but sometimes something more individual is called for.

Some examples of custom landmarks are:

Custom landmarks are created using the <section> element. They can also be created by using role="region", though the two methods are not quite interchangeable.

Sections should be given an accessible name via aria-labelledby or aria-label.

Labelling with a heading

These sections are labelled by their heading, using aria-labelledby.

Section 1

This is the first section on the page.

Labelling without a heading

This is the second section on the page.