Skip to content

Use patterns or icons in addition to colors to signify toast types #718

Closed

Description

@aphelionz

Color should not be the only indicator of the type of alert people are reading, since people with monochromatic color blindness (or even red-green/blue-yellow) would only have to rely on the brightness values of the colors. These values may be very similar between say, "danger" and "success"

Suggested Fixes
You can use more iconography and change the design spec slightly, or you can do what trello does and embed a pattern in the color as a signifier: http://littlebigdetails.com/post/35775193711/trello-color-blind-friendly-mode-makes

Category: #714: Elastic UI Toasts Accessibility
Relevant WCAG Criteria: 1.4.1 Distinguishable: Use of Color

Activity

  1. snide commented on May 4, 2018

    @snide
    Contributor

    I'm not sure this qualifies. The text ultimately provides the context. Meaning that "color alone" isn't the only indication here.

  2. timroes commented on May 7, 2018

    @timroes
    Contributor

    I would second @snide here. The color is not the only indicator. You can specify a color, but should still provide title and text. Also the central service in Kibana, that produces these toasts does actually use a distinct icon for each level. And if you use toast directly you should anyway provide a meaningful title and text, so I don't think the toast component itself violates 1.4.1.

  3. aphelionz commented on May 7, 2018

    @aphelionz
    Author

    Ok, I'm persuaded :)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions