Skip to content

Headings, landmarks and page structure

Screen reader and keyboard users move around a page by its structure: headings, landmarks (header, navigation, main, footer), lists and tables, and a skip link past the menu. Some of that structure is missing or broken on this page.

Why it matters

Screen reader users jump between headings to skim a page. Skipped levels or a missing main heading make the outline hard to follow.

Landmarks let them jump straight to the part of the page they want. Lists and tables are announced with their size and structure, so broken markup gives wrong counts.

Without a way past the header, keyboard and screen reader users go through every menu link on every page before reaching the content.

How to fix it

  1. Use one H1 for the page’s main topic, then H2 for sections and H3 inside them, without skipping levels. Choose levels for structure and size them with CSS.
  2. Wrap the page in header, nav, main and footer, with one main, and keep all content inside a landmark.
  3. Put list items directly inside ul or ol, and give data tables header cells (th).
  4. Add a “Skip to content” link as the first thing on the page. It can stay hidden until it has focus, but must show then:
    <a class="skip" href="#main">Skip to content</a>
    …
    <main id="main">

Common mistakes

  • Headings picked for their size, not their level.
  • Bold text used as headings, so screen readers don’t know they are.
  • A skip link that stays invisible when it has focus, or points nowhere.
  • Refreshing or redirecting the page on a timer, which moves people before they’ve finished reading.

Check your fix

Once the change is live, check the page again.