Polaris-react: Poor contrast ratio for selected/active items in OptionList and ActionList

Created on 17 Jul 2019  路  2Comments  路  Source: Shopify/polaris-react

Issue summary

The contrast ratio for highlighting selected/active items in OptionList and ActionList feels poor. There is no visual differentiation between hovered items and selected items.

Expected behavior

Our color usage guidelines indicate that the color Indigo should be used to signify active/highlighted states:

Screen Shot 2019-07-17 at 12 52 33 PM

Based on those guidelines, this is what I would expect selected/active items to look like:
Screen Shot 2019-07-17 at 12 46 54 PM

Actual behavior

Screen Shot 2019-07-17 at 12 47 09 PM

Accessibility 馃帹 Design

Most helpful comment

+1!

Currently working with this pattern and the contrast of a selected item feels too subtle, especially when mixed with an action list; it is super important for merchants to understand the difference between _actions_ (row and column actions) and _options_ (vertical alignment).

image

All 2 comments

+1!

Currently working with this pattern and the contrast of a selected item feels too subtle, especially when mixed with an action list; it is super important for merchants to understand the difference between _actions_ (row and column actions) and _options_ (vertical alignment).

image

+1 - we are using the action list item active state to show which item is selected in a Popover, and it a little unclear which item is selected with the current contrast ratio.

Was this page helpful?
0 / 5 - 0 ratings