domestic-ui GitHub

Breadcrumb

The path to the current page: an ordered list of links in a labelled <nav>.

Where the breadcrumb is used The breadcrumb is the row of links above the page heading in the content area, from the top section to the current page.

Live example

<nav aria-label="Breadcrumb" data-breadcrumb>
  <ol>
    <li><a href="#trail-title">Home</a></li>
    <li><a href="#trail-title">Molecules</a></li>
    <li><a href="#trail-title" aria-current="page">Breadcrumb</a></li>
  </ol>
</nav>

A long trail wraps

<nav aria-label="Breadcrumb for the archive" data-breadcrumb>
  <ol>
    <li><a href="#long-title">Home</a></li>
    <li><a href="#long-title">Documentation</a></li>
    <li><a href="#long-title">Components and patterns</a></li>
    <li><a href="#long-title">Navigation</a></li>
    <li><a href="#long-title">Archive</a></li>
    <li><a href="#long-title" aria-current="page">Breadcrumbs in older releases</a></li>
  </ol>
</nav>

Attributes

Attribute or valueWhereEffect
data-breadcrumb<nav aria-label="Breadcrumb">
aria-current="page"the last link (native ARIA)

Keyboard

See the keyboard section of the APG Breadcrumb pattern.

Accessibility

Specifications

See also

How other systems do it

For comparison only; these are not the standard this system follows.

Search