fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Accessibility Issue: Separator not visible in Windows High Contrast modes

Open dipgupta-msft opened this issue 5 years ago • 4 comments

Environment Information

  • Package version(s): ^7.150.0
  • Browser and OS versions: Edge + Windows

Describe the issue:

The actual separator is not visible in any of the windows high contrast modes.

Please provide a reproduction of the issue in a codepen:

https://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/heads/master/fabric-website-resources/dist/index.html#/examples/separator

High Contrast White:

image

High Contrast Black:

image

Actual behavior:

Separator is not visible in any windows high contrast modes.

Expected behavior:

The separator should be visible in all windows high contrast modes.

Documentation describing expected behavior

dipgupta-msft avatar Dec 09 '20 18:12 dipgupta-msft

Thanks for reporting this. It looks like the issue is that we need to add high contrast overrides for Separator's backgroundColor in these two places. The override color should be WindowText. https://github.com/microsoft/fluentui/blob/859fe008176c28a86b24d02e2d1bc1fe3d918752/packages/react-internal/src/components/Separator/Separator.styles.ts#L41 https://github.com/microsoft/fluentui/blob/859fe008176c28a86b24d02e2d1bc1fe3d918752/packages/react-internal/src/components/Separator/Separator.styles.ts#L57

@andrefcdias could you help with this one?

ecraig12345 avatar Jan 22 '21 00:01 ecraig12345

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

Handy links:

msft-fluent-ui-bot avatar Jan 26 '21 12:01 msft-fluent-ui-bot

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

Handy links:

msft-fluent-ui-bot avatar Jan 26 '21 12:01 msft-fluent-ui-bot

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

Handy links:

msft-fluent-ui-bot avatar Feb 03 '21 05:02 msft-fluent-ui-bot