Skip to main content

afrigov is an open-source project. It is not a government website and is not affiliated with any government.

Previewing neutral core Change

afrigov Accessible government design system

Breadcrumb

Where this page sits, and a way back up.

When to use

On content pages inside a hierarchy: a guide, a department page, a service's information pages.

When not to use

Inside a form journey. People should move with Continue and Back, not jump out to a parent page and lose their place.

Show HTML
<nav aria-label="Breadcrumb">
  <ol class="ag-breadcrumb ag-mb-0">
    <li><a href="#breadcrumb-example">Home</a></li>
    <li><a href="#breadcrumb-example">Services</a></li>
    <li><a href="#breadcrumb-example">Passports</a></li>
    <li><span aria-current="page">Renew a passport</span></li>
  </ol>
</nav>

Accessibility

  • An ordered list inside nav aria-label="Breadcrumb", so it is a landmark and the order is announced.
  • The current page is text, not a link, with aria-current="page".
  • The separators are drawn with CSS, so screen readers do not read "greater than" between every item.