Skip to content

Landmarks

Semantic regions that give a page its accessible structure. LANDMARK-019: real typed exports (Header, Main, Nav, Aside, Footer, Section) with allowlisted safe HTML attrs — not factory variables.

  • Header — Render the semantic header landmark for introductory content.
  • Main — Render the semantic main landmark for the page's primary content.
  • Nav — Render the semantic nav landmark for a major collection of navigation links.
  • Aside — Render the semantic aside landmark for related but secondary content.
  • Footer — Render the semantic footer landmark for closing information for a page or section.
  • Section — Render the semantic section landmark for a thematically grouped region.