Build the big blocks of a page: landmarks, headings and the sections between them. They look like plain boxes; their value is what they tell assistive technology.
How to reach the people behind the nearest article or the whole page: an email, a phone number, a profile link. Not for any postal address in the text. Browsers make it italic; LUZ makes it upright and secondary.
Content beside the main flow that a reader can skip without losing the thread: a sidebar, a pull quote, related links. At the top level of the page it is a complementary landmark.
The top heading, naming what the page is about. Use one per page. LUZ sets every heading in the serif heading font, light weight and tight tracking.
Heading level 1
HTML
<h1>Heading level 1</h1>
Styled by elements/sections.css, with no class. Hidden from assistive technology here, so this page keeps a single h1 and a correct outline. The markup below is what to copy.
The heading of a main part of the page. Go down one level at a time, without skipping. LUZ sets it in the serif heading font, light weight and tight tracking.
Heading level 2
HTML
<h2>Heading level 2</h2>
Styled by elements/sections.css, with no class. Hidden from assistive technology here, so this page keeps a single h1 and a correct outline. The markup below is what to copy.
The heading of a part inside an h2 section. LUZ sets it in the serif heading font, light weight and tight tracking.
Heading level 3
HTML
<h3>Heading level 3</h3>
Styled by elements/sections.css, with no class. Hidden from assistive technology here, so this page keeps a single h1 and a correct outline. The markup below is what to copy.
The heading of a part inside an h3 section. LUZ sets it in the serif heading font, light weight and tight tracking.
Heading level 4
HTML
<h4>Heading level 4</h4>
Styled by elements/sections.css, with no class. Hidden from assistive technology here, so this page keeps a single h1 and a correct outline. The markup below is what to copy.
The heading of a part inside an h4 section. LUZ sets it in the serif heading font, light weight and tight tracking.
Heading level 5
HTML
<h5>Heading level 5</h5>
Styled by elements/sections.css, with no class. Hidden from assistive technology here, so this page keeps a single h1 and a correct outline. The markup below is what to copy.
The deepest heading, for a part inside an h5 section. If you need it often, the page may be nested too deeply. LUZ sets it in the serif heading font, light weight and tight tracking.
Heading level 6
HTML
<h6>Heading level 6</h6>
Styled by elements/sections.css, with no class. Hidden from assistive technology here, so this page keeps a single h1 and a correct outline. The markup below is what to copy.
Wraps what is unique to this page, without the header, navigation and footer that repeat on every page. Only one main can be visible, so this card shows the markup only: the page you are reading is already inside one.
Wraps the links people use to move around the site or the page. When a page has more than one, give each a label so screen reader users can tell them apart.
LUZ adds no style: it is a landmark, not a visual box. A nav with a list is a plain list; for a row of links use .o-row, and for breadcrumbs and the sidebar, LUZ has components with their own classes.
LUZ adds no style: it is a landmark, not a visual box. The form inside it carries the look.
Worth using
Use it around the form and controls of a search or a filter, so screen readers list it as a search landmark with no role attribute. It is not for the results: those belong in the main content. Quick-search suggestions that are part of the search do go inside. Widely available since October 2023.
Several searches: MDN's example tells two searches on one page apart with a title. Give each one a distinct name.