Breadcrumb
Description
The breadcrumb component shows you where you are within the site’s structure and allows you to navigate through higher level pages.
On mobile devices this is limited to show only one level up.
When to use
- when content sits within a clear hierarchy and there is benefit from understanding where you are in relation to parent pages
- in transactional or multi-step journeys where users are guided through a defined sequence of steps (for example, stepped forms that display progress such as "Step 1 of 3")
- on the homepage
- as the primary navigation method for a page
Note: The preview responds to the width of the browser window, not the width of the preview. In windows narrower than 992px it shows only the link to the parent page, as it would on mobile. To see the full breadcrumb, use a wider window or open the preview in Storybook.
Guidelines for use
Breadcrumbs include link text to previous pages following the site hierarchy, a chevron icon that separates the page links and the current page title.
The breadcrumb will be derived from the page title unless you can add an optional label, which would then be used to derive the breadcrumb.
If you use a breadcrumb label:
- keep the breadcrumb label concise and meaningful, do not truncate labels
- reflect the site structure accurately
A breadcrumb component displays automatically on any page in the site navigation that is not a homepage or root landing page.
For implementation guidance in Contentful, see The tree (aka Navigation component) | Shelter's Digital Framework
Accessibility
The breadcrumb is placed before the <main> content of a page, allowing users to skip directly to the main page content. This behaviour is implemented by the page structure rather than the breadcrumb component itself.
The breadcrumb is a navigation landmark with the label 'Breadcrumb', allowing screen reader users to navigate directly to it or skip past it. The current page is presented as text rather than a link, helping users understand their location within the site hierarchy.
On mobile, only the immediate parent link is included in the breadcrumb. Higher-level links are removed rather than visually hidden, ensuring a consistent experience for all users.
All breadcrumb variants are designed to meet WCAG 2.1 Level AA standards. This includes appropriate colour contrast ratios, keyboard navigation support, screen reader compatibility, and minimum touch target sizes.
For detailed information about our accessibility standards, see our Accessibility Statement.