Fluentui: PeoplePicker item selected + hover accessibility issue

Created on 24 Nov 2019  路  5Comments  路  Source: microsoft/fluentui

Environment Information

  • Package version(s): Latest
  • Browser and OS versions: Chrome, Edge Beta, Edge, Windows 10

Please provide a reproduction of the bug in a codepen:

https://developer.microsoft.com/en-us/fabric#/controls/web/peoplepicker

Actual behavior:


image

Arnon Reid is selected, and the mouse is hover it. The contrast is pretty low - the name is too dark and really hard to see it.

Expected behavior:

The font color will have a better contrast (white?)

Priorities and help requested:

Are you willing to submit a PR to fix? No

Requested priority: Normal

Products/sites affected: Internal Microsoft product

Accessibility PeoplePicker Fixed Type

All 5 comments

confirmed. focused/hover text color shouldn't be black on blue. Seeing as the "X" is the only actionable element, my assumption would be that the color shouldn't change at all

image

Ok, finally tracked down the issue. The people picker actually displays a persona and styles the persona with a blue background on selection. personas have no idea about a 'selected' state, so style overrides will need to come from picker

also, oddly the issue only shows up when the picked item does not have focus. so seems we've fixed the color issue on focus, but not on merely selected

Thanks @rhalaly for filing this issue and thanks @micahgodbolt for tracking it down! I'll have a PR shortly to fix this issue!

:tada:This issue was addressed in #11304, which has now been successfully released as [email protected].:tada:

Handy links:

Was this page helpful?
0 / 5 - 0 ratings