# User-Centered Design - What Are Best Practices for Designing Breadcrumbs?

**URL:** <https://forum.freecodecamp.org/t/user-centered-design-what-are-best-practices-for-designing-breadcrumbs/801976>\
**Category:** Curriculum Help\
**Tags:** html-css\
**Created:** [October 8, 2026, 5:02pm UTC](https://forum.freecodecamp.org/t/user-centered-design-what-are-best-practices-for-designing-breadcrumbs/801976 "2026-10-08T17:02:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![programlegion](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/programlegion/32/379387_2.png) [@programlegion](https://forum.freecodecamp.org/u/programlegion)\
**Post date:** [October 8, 2026, 5:02pm UTC](https://forum.freecodecamp.org/t/user-centered-design-what-are-best-practices-for-designing-breadcrumbs/801976/1 "2026-10-08T17:02:03Z")

</div>

### Tell us what’s happening:

I think there may be an issue with the breadcrumbs example that caused me confusion.

The breadcrumb is:

Home / Electronics / Phones / Smartphone XYZ

This presents Phones as being inside Electronics. But the next example’s main navigation is:

Home | Electronics | Phones

This makes Phones appear to be a top-level item alongside Electronics. If Phones is actually a child of Electronics, shouldn’t the navigation reflect that hierarchy?

### Your browser information:

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0`

### Challenge Information:

User-Centered Design - What Are Best Practices for Designing Breadcrumbs?

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design-v9/lecture-user-centered-design/what-are-best-practices-for-designing-breadcrumbs)**
>
> Learn to Code for Free

GitHub Link: [freeCodeCamp/curriculum/challenges/english/blocks/lecture-user-centered-design/672baff13bc5b3789691c75c.md at main · freeCodeCamp/freeCodeCamp · GitHub](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/lecture-user-centered-design/672baff13bc5b3789691c75c.md)

---

<div class="post-metadata">

**Author:** ![programlegion](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/programlegion/32/379387_2.png) [@programlegion](https://forum.freecodecamp.org/u/programlegion)\
**Post date:** [October 8, 2026, 5:02pm UTC](https://forum.freecodecamp.org/t/user-centered-design-what-are-best-practices-for-designing-breadcrumbs/801976/2 "2026-10-08T17:02:30Z")

</div>

One other thing stood out to me that may be an even bigger issue: the lesson says that breadcrumbs show “the path they took to get to the current page.”

But isn’t that different from what breadcrumbs are actually supposed to represent? If Phones is available directly from the main navigation, a user could click Home → Phones → Smartphone XYZ, while the breadcrumb could still be Home → Electronics → Phones → Smartphone XYZ.

So wouldn’t the breadcrumb be showing the page’s position in the site’s hierarchy, rather than the path the particular user took? If so, I think that wording could be quite confusing for someone learning how breadcrumbs work.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [October 8, 2026, 7:15pm UTC](https://forum.freecodecamp.org/t/user-centered-design-what-are-best-practices-for-designing-breadcrumbs/801976/3 "2026-10-08T19:15:34Z")

</div>

> [@programlegion](#):
>
> This makes Phones appear to be a top-level item alongside Electronics. If Phones is actually a child of Electronics, shouldn’t the navigation reflect that hierarchy?

this can be a design choice, Phones is under Electronics, but the navigation exposes a link to it because it is a category of major interest, those this is not explained as it should

> [@programlegion](#):
>
> But isn’t that different from what breadcrumbs are actually supposed to represent?

yes, this lesson talks about hierarchy breadcrumbs, which show the relationship of pages in the site

* * *

I have created an issue to clarify this

> <https://github.com/freeCodeCamp/freeCodeCamp/issues/70779>
>
> \### Describe the Issue
> 
> The breadcrumbs lesson mixes site hierarchy with browsin…g history, and its main navigation example leaves the distinction unclear. This was reported in the \[forum\](https://forum.freecodecamp.org/t/user-centered-design-what-are-best-practices-for-designing-breadcrumbs/801976/).
> 
> 1. The lesson introduces breadcrumbs as a way to show the user's position in the site's hierarchy, but then describes the example as the user's actual navigation history:
> 
> \> \`In most websites, breadcrumbs are displayed at the top of the page, showing the user the path they took to get to the current page.\`
> 
> \> \`\`Starting from the \`Homepage\`, the user navigated to the \`Electronics\` category, then to the \`Phones\` category, and finally to the \`Smartphone XYZ\` product.\`\`
> 
> The example shows a product within nested categories. That hierarchy does not establish which pages the user visited. Someone arriving directly from a search result would still see the same hierarchy. The following paragraph acknowledges arrival from an external link, but describes breadcrumb destinations as previous pages, reinforcing the confusion.
> 
> History-based breadcrumbs exist, but the lesson does not distinguish them from the hierarchy breadcrumbs it demonstrates. The \[W3C breadcrumb pattern\](https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/) describes links to parent pages in hierarchical order.
> 
> 2. The placement example presents these main navigation links together:
> 
> \> \`\`\`html
> \> \<nav class="main-nav"\>
> \> \<a href="#"\>Home\</a\>
> \> \<a href="#"\>Electronics\</a\>
> \> \<a href="#"\>Phones\</a\>
> \> \</nav\>
> \> \`\`\`
> 
> Its breadcrumb places Phones within Electronics. A main navigation link can be a shortcut to a nested category, so this is not inherently invalid. However, the lesson does not explain that distinction, leaving learners to reconcile what appear to be two different hierarchies.
> 
> \### Affected Pages
> 
> https://www.freecodecamp.org/learn/responsive-web-design-v9/lecture-user-centered-design/what-are-best-practices-for-designing-breadcrumbs
> 
> \### Expected behavior
> 
> The lesson should consistently explain that its breadcrumbs represent the current page's position in the site hierarchy, regardless of the user's route to that page. Parent pages should not be described as necessarily previously visited pages.
> 
> The main navigation example and its explanation should make the relationship between navigation shortcuts and the breadcrumb hierarchy clear, without suggesting that every main navigation link must represent a top-level category.

---

<div class="post-metadata">

**Author:** ![programlegion](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/programlegion/32/379387_2.png) [@programlegion](https://forum.freecodecamp.org/u/programlegion)\
**Post date:** [October 8, 2026, 7:42pm UTC](https://forum.freecodecamp.org/t/user-centered-design-what-are-best-practices-for-designing-breadcrumbs/801976/4 "2026-10-08T19:42:29Z")

</div>

That makes sense. I was interpreting the navigation example as representing the same hierarchy shown by the breadcrumbs, which is what caused my confusion.

The distinction between the site’s hierarchy and which categories are exposed directly in the main navigation makes sense now. And I agree that the lesson could explain that more clearly.

Thanks for clarifying this and for creating the issue!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [October 10, 2026, 7:43pm UTC](https://forum.freecodecamp.org/t/user-centered-design-what-are-best-practices-for-designing-breadcrumbs/801976/5 "2026-10-10T19:43:01Z")

</div>

Closed on October 10, 2026, 7:43pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
