Use Breadcrumbs...
On multi-level pages that have a hierarchy grouping such as:
- Upper funnel category pages
- Product detail pages
- Gallery pages
- Blog pages
- Support pages
Don't use Breadcrumbs...
On single-level pages that have no logical hierarchy or grouping such as:
- Studio experiences
- Upsell / Cross-sell experiences
- Cart or checkout
- Account pages
Breadcrumbs
Breadcrumbs visualize the hierarchical site structure via a series of horizontal Links. These Links show the linear path from the home page to the current page.
Use aria-current="page"
on the breadcrumb for the current page. This helps assistive technologies in announcing the current page.
Truncation
For breadcrumb paths longer than 4 links, only the Home
, current page
and previous page
links are always visible. The rest are visually hidden behind a ...
link. Expanding the ...
reveals the rest of the breadcrumb path. This takes up the available width and then wraps to multiple lines.
For this functionality to work, you must add an accessibleTextForMore
prop. That prop should contain the localized accessible text for the ...
button that will be announced to users on assistive technologies. In English, this text is βMoreβ. Since this text is necessary for accessibility support, if that prop is missing, the Breadcrumbs component will not truncate, and will always show all the breadcrumbs.
The preview has been updated.
Note that this functionality only works in the React version of the component. On pages using the vanilla API, the breadcrumbs will not truncate.
SEO structured data
Use the SEO-friendly structured data format below for Breadcrumbs. This format informs search engine bots that the links belong to structured Breadcrumbs, enhancing the SEO impact. Contact #help-seo with any questions.
Update the name
and item
URLs.