Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High contrast issues in components #3102

Closed
betrue-final-final opened this issue Oct 12, 2017 · 4 comments · Fixed by #3301
Closed

High contrast issues in components #3102

betrue-final-final opened this issue Oct 12, 2017 · 4 comments · Fixed by #3301

Comments

@betrue-final-final
Copy link
Member

betrue-final-final commented Oct 12, 2017

Are you willing to submit a PR to fix? (Yes)

Requested priority: (Normal)

Hey, I was looking through Master in high contrast and noticed some issues:

  1. Carets in the UI are still grey, and should be windowText system color
    image

  2. Cards should have a windowText color border around them
    image

  3. ChoiceGroup with icons has grey icons for disabled. Should use grayText system color
    image

  4. Borders around people in people picker make it hard to tell where focus is
    image
    Same for SwatchColorPicker
    image

  5. Disabled dropdown does not have a border
    image

  6. Personas have an extraneous square around them.
    image

  7. Theme Generator only shows grey
    image

  8. We should consider reversing primary buttons so people can distinguish them
    image

  9. Why is upload link color and the others aren't?
    image

  10. MessageBar close X has weird square brackets around it
    image

  11. Detailslist hover selection check should have a circle border
    image

  12. We may consider making focus 2px for Detailslist, as it's hard to see it
    image

  13. There's a black dot in the middle of toggle thumbs
    image

  14. We should reverse the "on" toggle for better visibility
    image

  15. Progress bar is hard to see. We may consider dropping the top line of the empty track so the fill an be seen better.
    image

  16. Why does spinner look so weird in high contrast?
    image

@kristoferbrown
Copy link
Contributor

@betrue-final-final, a couple questions as I'm starting to go down this list:

  • What component does 1 occur in? I can't see that happen anywhere.
  • Can you still repro 2 in master? It appears to have been fixed by the last HC bugfix PR.
  • Item 6 is occurring due to a regression preventing the WindowText border I put around initial only personas from being a circle. This got me thinking, is there a better way to handle initial only personas, or is just a border circle enough?

@betrue-final-final
Copy link
Member Author

#1 seems to be a no-repro now
#2 is no repro!
For high contrast, we don't have backgrounds, just borders. Alternately we could reverse them and make them white with black initials.

@Hardhik
Copy link
Member

Hardhik commented Nov 13, 2017

Please add this to the above list.
https://developer.microsoft.com/en-us/fabric#/components/dropdown
The focus on dropdown is not visible in high contrast white mode.

image

@kristoferbrown
Copy link
Contributor

@Hardhik, interesting it looks like the dark purple color that the default black-on-white high contrast palette uses for selected items is close enough to to black that it's really hard to see the border change colors when focused.

@betrue-final-final, do you think this is enough of an issue that we should rethink the focus styling on this component? The fix would probably be to make the background of the component (or just a highlight under the text) be the Highlight color instead of changing the border color. What do you think?

kristoferbrown added a commit that referenced this issue Nov 17, 2017
* High contrast fixes: choiceGroup, persona, suggestions, commandbar example

* Increasing visibilty of focus border on choice group elements.

* picker selected item high contrast improvements

* Removing swatchColorPicker high contrast borders

* Primary button, dropdown, and colorPicker contrast adjustments

* Details check, message bar x button, progress, spinner, and toggle HC updates

* rush change

* Build fixes

* Fixing persona/activityItem border issues

* Changing achor button example to a non-primary button

* Using non-deprecated defaultButton

* changing compact border to palette color

* Removing high-contrast const definitions from all style ts files
ohritz pushed a commit to ohritz/office-ui-fabric-react that referenced this issue Dec 5, 2017
* High contrast fixes: choiceGroup, persona, suggestions, commandbar example

* Increasing visibilty of focus border on choice group elements.

* picker selected item high contrast improvements

* Removing swatchColorPicker high contrast borders

* Primary button, dropdown, and colorPicker contrast adjustments

* Details check, message bar x button, progress, spinner, and toggle HC updates

* rush change

* Build fixes

* Fixing persona/activityItem border issues

* Changing achor button example to a non-primary button

* Using non-deprecated defaultButton

* changing compact border to palette color

* Removing high-contrast const definitions from all style ts files
chrismohr pushed a commit to chrismohr/office-ui-fabric-react that referenced this issue Apr 17, 2018
* High contrast fixes: choiceGroup, persona, suggestions, commandbar example

* Increasing visibilty of focus border on choice group elements.

* picker selected item high contrast improvements

* Removing swatchColorPicker high contrast borders

* Primary button, dropdown, and colorPicker contrast adjustments

* Details check, message bar x button, progress, spinner, and toggle HC updates

* rush change

* Build fixes

* Fixing persona/activityItem border issues

* Changing achor button example to a non-primary button

* Using non-deprecated defaultButton

* changing compact border to palette color

* Removing high-contrast const definitions from all style ts files
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants