Page Properties | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Item | Type | Notes |
1. Page name | Link | |
2. Divider | Simple text | |
3. Overflow indicator | Button | |
4. Overflow list | Dropdown |
...
Screenshot taken from Figma appears to have no focus state for the dark mode. Needs questioning.
Behaviour
General:
The current page is always the last item in the list and breadcrumbs should never display children of the current page unless it’s proximate to the page title (see visibility controls).
Breadcrumbs should never wrap onto a new line. If the width of the breadcrumbs breaks out of the parent container (or max width), breadcrumbs should adopt the overflow behaviour (see overflow).
TDB whether breadcrumbs adopt the max with of their parent container or have a specified max width (similar to max with of content)
...
Key | Interaction |
---|---|
Tab | Move focus to next item |
Shift + Tab | Move focus to previous item |
Enter or Space | Selects item and navigates to location. If focus is on truncation menu, opens the menu. |
Up/Down Arrow | When menu is open, up and down arrow navigate through the menu items. |
ESC | When menu is open, closes the menu. |
*TDB - Discuss esc behaviour in more details
Breadcrumbs should be wrapped in a
nav
landmark and marked witharia-label="breadcrumbs"
Use
ol
to denote link hierarchyadd
aria-current='location'
to the current page link.
Analytics & Data
X
XN/A
Future Expansion
Currently, breadcrumbs only come in one style but in the future there may be a case where we allow the configuration of the divider style and/or allow icons to be used as links (for example the root link could be a home icon).
Extending breadcrumbs for structured data as used by search engines to categorise information from the page in search results: https://developers.google.com/search/docs/advanced/structured-data/breadcrumb
Wider Conversations that may impact this
Item: Description
Item: Description N/A
...
Examples
...
Useful links
https://spectrum.adobe.com/page/breadcrumbs/#Usage-guidelines
...