Skip to content

[EuiBreadcrumb] Finalize new visual design direction #7366

Closed

Description

@1Copenut

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 500 for 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.

CleanShot 2023-11-02 at 12 54 27

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 400 font weight, except the current/active breadcrumb (which stays at the current 500).
  • Linked breadcrumbs switch to using the default text color (instead of subdued).

CleanShot 2023-11-02 at 13 09 39

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

  1. added
    design decision
    on Nov 14, 2023
  2. MichaelMarcialis commented on Nov 20, 2023

    @MichaelMarcialis
    Contributor

    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:

    • All breadcrumb items (with menu, linked, unlinked, current) are regular (400) font weight.
    • All breadcrumb items (with menu, linked, unlinked, current) are using subdued text color.
    • Breadcrumb items with menu or linked receive an underline text decoration to inform the user that it may be clicked.
    • On hover or focus, breadcrumb items with menu or linked switch to default text color.

    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

    Default

    Hover

    Hover
  3. 1Copenut commented on Nov 22, 2023

    @1Copenut
    ContributorAuthor

    @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:

    - On hover, breadcrumb items with menu or linked switch to default text color.
    + On hover or focus, breadcrumb items with menu or linked switch to default text color.
  4. ryankeairns commented on Nov 28, 2023

    @ryankeairns
    Contributor

    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).

  5. 1Copenut commented on Dec 5, 2023

    @1Copenut
    ContributorAuthor

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

design decision

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions