The short answer

Breadcrumb navigation shows where a page belongs in a website and links to useful parent pages. Build the trail from a real hierarchy, not a visitor’s browsing history. Use a labelled navigation list, identify the current page clearly and check the links on narrow screens. Search markup is a separate implementation.

On this page
  1. Start with the parent pages a visitor needs
  2. A worked example: choose a trail for a garden shop
  3. Publish a labelled navigation list
  4. Keep the trail usable when space is tight
  5. Separate visible breadcrumbs from search markup
  6. Sources & further reading

Start with the parent pages a visitor needs

Breadcrumb navigation is a short trail showing where the current page belongs in a site's hierarchy. Its useful links lead to broader parent pages. It should help someone who arrives directly from search understand the surrounding section without first visiting the homepage.

That is a different job from recording the visitor's browsing history. A trail such as “Home → Search → Sale → Product” can describe a session without explaining where the product belongs. It is also different from checkout steps such as “Delivery → Payment → Confirmation.”

The GOV.UK breadcrumb guidance recommends the component for moving between multiple levels, rather than for flat sites or a linear transaction. Start by asking whether useful parent pages actually exist. A small site with only a homepage and a few independent pages may gain little from an extra trail.

Keep the main menu and relevant contextual links. Breadcrumbs are an additional location aid, not the whole navigation system. The internal-linking guide covers the wider routes a reader needs between related pages.

A worked example: choose a trail for a garden shop

Imagine a fictional garden shop with these four public pages. The names and paths are teaching examples, not a real store or pages on WhiteGloveAEO.

Page Example path Useful job
Home / Introduce the shop and its main departments
Planters /planters Help visitors browse planter types
Herb planters /planters/herbs Compare planters suitable for growing herbs
Small-space herb planter /products/herb-trough Explain one particular product

For the product page, a sensible trail is:

Home → Planters → Herb planters → Small-space herb planter

A visitor who wants another size can follow “Herb planters” to compare alternatives. Someone interested in a different growing use can go up to “Planters.” Each level has a real page and a reason to exist.

Do not automatically turn the product URL into “Home → Products → Herb trough.” The example inventory does not establish a useful /products parent page. URL segments are implementation details; the trail should reflect a meaningful relationship.

Compare three proposed additions:

  • “Sale” because the visitor came from a promotion: not a stable parent relationship in this example.
  • “Terracotta” because a color or material filter is selected: not automatically a parent page. First decide whether there is a genuine browse destination and whether this product belongs there.
  • “Herb planters” because it groups suitable alternatives: useful when that page actually exists and provides the promised comparison.

A product may belong to more than one real category. Choose a coherent trail for the page's context rather than combining unrelated categories into one invented ladder. The immediate deliverable is a route someone can follow, not a longer string of keywords.

Publish a labelled navigation list

The W3C breadcrumb pattern places the trail in a labelled navigation landmark. Its current-page link uses aria-current="page"; if the current item is not a link, that attribute is optional.

Here is an illustrative HTML fragment for the fictional product. Place this example before the main content so a working “Skip to main content” link can bypass it. The final item is plain text, while the three parents are ordinary links:

<nav class="breadcrumbs" aria-label="Breadcrumb">
  <ol role="list">
    <li><a href="/">Home</a></li>
    <li>
      <span aria-hidden="true">›</span>
      <a href="/planters">Planters</a>
    </li>
    <li>
      <span aria-hidden="true">›</span>
      <a href="/planters/herbs">Herb planters</a>
    </li>
    <li>
      <span aria-hidden="true">›</span>
      <span aria-current="page">Small-space herb planter</span>
    </li>
  </ol>
</nav>

This fragment does not create the parent pages. Before deployment, replace its labels and paths with your actual public destinations.

The arrows are decoration, so they are hidden from assistive technologies. The labels and links carry the useful information. A linked current page is another possible design, but it should identify itself as current and should not introduce a different destination.

MDN's navigation reference explains that a page can contain several navigation regions. Give this one a recognizable label so it can be distinguished from the main menu or other navigation.

This example includes the current page for orientation. Other designs stop at the parent section; GOV.UK uses that convention. Whichever approach you choose, make it consistent across the site and keep the page's main heading clear. A breadcrumb label does not replace the H1 or document title.

Keep the trail usable when space is tight

A desktop trail that fits on one line can fail on a phone when its labels become longer. Do not make text tiny or hide an essential parent merely to preserve a one-line appearance.

For the example fragment, this small CSS starting point lets the list wrap:

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: flex;
  gap: 0.5rem;
  min-width: 0;
}
.breadcrumbs a,
.breadcrumbs span {
  overflow-wrap: anywhere;
}

These are illustrative styles to adapt to the site's typography, spacing and focus treatment. They are not a complete design system or a guarantee of accessibility.

W3C's reflow explanation describes keeping ordinary content usable at a width equivalent to 320 CSS pixels without two-dimensional scrolling. Check the trail with actual long labels and enlarged text, not just short placeholder names.

Before accepting the component:

  1. Open the current page directly, without a browsing history to supply context.
  2. Follow every parent link and confirm that its page matches the label.
  3. Use Tab to reach each link and confirm the keyboard focus remains visible.
  4. Confirm the current text is understandable and not mistaken for another parent.
  5. Check the navigation landmark and current item with appropriate accessibility tools and assistive-technology testing.
  6. Repeat the route on a narrow viewport and with enlarged text. Look for clipped labels, overlapping links and lost destinations.

If a CMS supplies the trail, inspect the published result. Saving a hierarchy setting does not prove that the template outputs useful links or the intended current page.

Separate visible breadcrumbs from search markup

Visible navigation and BreadcrumbList structured data are related but separate. Adding JSON-LD alone does not create the links a reader can use.

Google's breadcrumb documentation recommends describing a typical user path rather than copying URL structure. Its supported markup uses ordered ListItem entries with the required names, positions and applicable URLs. Check whether the CMS already supplies it before adding another implementation.

Validate that markup against the current documentation and test the deployed page. Google's documented breadcrumb search feature is available on desktop; valid markup does not guarantee its display. A working mobile breadcrumb on your own site remains useful independently of that search presentation.

For the fictional shop, acceptance means “Herb planters” leads to the right comparison page, the current product is clear, and the trail works with keyboard and narrow-screen navigation. Search appearance can be checked separately. Neither a successful markup test nor an extra parent label establishes ranking, traffic or sales gains.

Sources & further reading

Primary references checked Oct 28, 2026. Platform guidance can change.

  1. W3C APG: Breadcrumb Pattern
  2. GOV.UK Design System: Breadcrumbs
  3. MDN: The nav element
  4. W3C: Understanding Reflow
  5. Google: Breadcrumb structured data

AI-assisted research and writing. Learn about our editorial standards.

Suggest a correction ↗