Breadcrumbs
Breadcrumbs are secondary navigation elements that show users their location within a website hierarchy, improving navigation, SEO, and overall user experience.
Breadcrumbs are secondary navigation elements that show users their location within a website hierarchy, improving navigation, SEO, and overall user experience.
Breadcrumbs are a type of secondary navigation used in websites and applications to help users understand their location within a hierarchy. Typically displayed as a horizontal trail of links, breadcrumbs allow users to quickly backtrack to higher-level pages without relying on the main navigation.
The term originates from the fairy tale of Hansel and Gretel, where the children left a trail of breadcrumbs to find their way back home. In digital design, breadcrumbs serve the same purpose: guiding users through complex structures.
Hierarchy-based (Location) – Show the position of a page within the site structure.
Home > Products > Electronics > SmartphonesAttribute-based – Used in e-commerce, showing selected filters or attributes.
Home > Shoes > Men > Size 42 > BlackHistory-based (Path) – Display the user’s actual navigation path.
Home > Search > Product Page > Checkout<nav aria-label="Breadcrumb">
<ol>
<li><a href="/">Home</a></li>
<li><a href="/products">Products</a></li>
<li><a href="/products/electronics">Electronics</a></li>
<li aria-current="page">Smartphones</li>
</ol>
</nav>
This markup also supports accessibility by providing an aria-label and defining the current page.
>).Breadcrumbs are a simple but powerful navigation aid that improves usability and SEO. By providing a clear path back through a website’s hierarchy, they make complex sites easier to navigate and more user-friendly.