Skip to content

Insufficient contrast between links and surrounding text #16302

@cimaja

Description

@cimaja

Environment Information

  • Package version(s): 7.155.3
  • Browser and OS versions: Edge(chromium) 85.0.564.63, Windows 10 Enterprise 10.0.19042 Build 19042

Describe the issue:

Links should have contrast ratio of 3:1 with surrounding text and have a non-color visual distinction for colorblind people (see W3C for more details).

Find below some Link/Text contrast ratios for various themes:

Please provide a reproduction of the issue in a codepen:

https://codepen.io/cimaja/pen/yLapMXB alternatively the issue is also visible on the Fluent demo website.

Actual behavior:

Fluent links use only color to differentiate links from surrounding text.

Expected behavior:

Fluent links should be underlined to help differentiate links from normal text for color-blind people. Optionally, links color should have a contrast ratio greater than 3:1 with surrounding text.

Documentation describing expected behavior

Failure of Success Criterion 1.4.1 due to creating links that are not visually evident without color vision

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions