Repository navigation
Description
Description
@MichaelMarcialis has been leading the visual design conversation for EuiBreadcrumb. Quoting from his comment in the open discussion:
Assuming we wish to maintain the minimalistic nature of these breadcrumbs (which I personally do), the first areas that come to mind where we could apply such visual affordance for linked vs. non-linked breadcrumbs are font weight and color.
Currently, it looks like we use a font weight of
500for all breadcrumbs. The current/active breadcrumb uses our default text color, while all other breadcrumbs use our subdued text color. On hover/focus of a linked breadcrumb, an underline decoration is added. Without hovering/focusing, the user won't know if a breadcrumb is a link or not.
Perhaps we could update these styles with the following subtle changes to accommodate for a light affordance prior to the user attempting to hover/focus:
- All breadcrumbs switch to
400font weight, except the current/active breadcrumb (which stays at the current500).- Linked breadcrumbs switch to using the default text color (instead of subdued).
It's subtle, but I think it's enough of an offset to indicate to users that something is different about them, without hurting the minimalism of the component.
Items discussed in team meeting 14 November
- In our nav, we have elements that are not links, it's a header, and it's valid
- If it is just an element that gives user's context (like a heading in the breadcrumb list), then there is nothing wrong with it being a non-linked element.
- Thinking of situations like a heading "APM" being okay as a plain LI in the breadcrumb, and "Alerts" being the current page.
- Breadcrumbs have 3 possible states:
- Breadcrumbs that are linked
- Breadcrumbs that is not linked and not clickable
- Terminal element, that is not clickable
### Visual design tasks
- [x] Finalize visual designs for the three identified states
- [x] Review visual designs for accessibility success criteria
- [x] Gather desired information architecture guidance for breadcrumbs


Activity
MichaelMarcialis commentedon Nov 20, 2023
After discussion with both @cee-chen and @1Copenut, I'm fine with our desire to explore style updates that apply an underline to the linked breadcrumbs to provide the user with visual affordance prior to hover/focus of the breadcrumb items. As such, I've update the proposed mockups and attached them below. Key changes include:
I think these changes address the usability concerns discussed, while also toning down some other stylistic aspects of the breadcrumbs to ensure they do not become visually dominant on the page. Let me know if this works for everyone, or if there are any other concerns. Thanks! CCing @ryankeairns as well.
Default
Hover
1Copenut commentedon Nov 22, 2023
@MichaelMarcialis I'm onboard with this new direction. I appreciate your willingness to explore underlines for actionable breadcrumbs. The only adjustment I'd suggest is adding "on focus" to your fourth assertion:
ryankeairns commentedon Nov 28, 2023
Adding a comment in acknowledgement of the final proposal. Thanks for getting together and hashing it out. Feels like a worthy piece of clarity for all users.
As for the related discussion post, shall we leave that open until we have written, updated guidelines for breadcrumbs? Presumably, this would include guidance around avoiding unlinked breadcrumbs + handling of parent:child scenarios (e.g. an accordion section in the left nav).
1Copenut commentedon Dec 5, 2023
@MichaelMarcialis && @ryankeairns I feel the proposed solution and agreement in comments meets the criteria of this issue ticket. I'm going to move it to closed and link Michael's screenshots into #7384 so the EUI team can get these visual changes scheduled as upcoming work.