PedanticDesign System · aCo

Breadcrumbs

A breadcrumb trail shows where a page sits in the site hierarchy and gives readers a way back up. This page’s own trail, directly above, is a live instance.

Example

Live example — three-level trail

<nav class="pds-breadcrumbs" aria-label="Breadcrumb">
  <ol class="pds-breadcrumbs__list">
    <li class="pds-breadcrumbs__item"><a href="/">Home</a></li>
    <li class="pds-breadcrumbs__item"><a href="/components/">Components</a></li>
    <li class="pds-breadcrumbs__item"><span aria-current="page">Breadcrumbs</span></li>
  </ol>
</nav>

Anatomy

Rules

Do

Show the full hierarchy from the home page to the current page, one level per item.

Use breadcrumbs on pages three or more levels deep.

Don’t

Don’t link the current page to itself, and don’t use breadcrumbs as a substitute for primary navigation.

Accessibility notes