Breadcrumbs
Breadcrumbs show a user’s current location within a hierarchy of pages and let them navigate up that hierarchy.
Breadcrumbs show a user’s current location within a hierarchy of pages and let them navigate up that hierarchy.
Note that this component may require additional styling.
Use the codes below to add this component to your project. Download the latest version of the library to easily implement our full range of components.
Breadcrumbs help users identify their current position on the website within its hierarchical structure. Ensure your breadcrumb navigation reads from left to right. The last breadcrumb on the right should represent the user’s current page.
Guidelines | Examples | |
---|---|---|
Recommended length | Same wording as the name of the corresponding page | Forward your mail |
Line wrap | Avoid | Community mailboxes |
Phrasing | Same wording as the name of the corresponding page | Receiving |
Case | Sentence case without period | Return your purchase |
Each breadcrumb should complement the heading of the linked page, so that breadcrumb titles and page titles are consistent.
The breadcrumb region label can be set in one of two ways:
Breadcrumb links have the same keyboard interactions as other links and can be accessed using the Tab key and activated using the Enter key.
The breadcrumb for the current page can be accessed using the Tab key; the Enter key does nothing.
Separators help users identify the breadcrumb trail.
This information is semantically represented to the screen reader by the navigation element and its label. To prevent screen reader announcement of the visual separators between links, the breadcrumb separators are added via CSS. Using this display technique ensures that the breadcrumb separator is not represented in the accessibility tree used by screen readers and thus prevents redundant and potentially distracting verbosity.
When testing breadcrumbs, the tester must ensure: