Accessibility Issue: Separator not visible in Windows High Contrast modes
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:

High Contrast Black:

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
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?
:tada:This issue was addressed in #16589, which has now been successfully released as [email protected].:tada:
Handy links:
:tada:This issue was addressed in #16589, which has now been successfully released as @fluentui/[email protected].:tada:
Handy links:
:tada:This issue was addressed in #16705, which has now been successfully released as @fluentui/[email protected].:tada:
Handy links: