microsoft / WinUI-Gallery

This app demonstrates the controls available in WinUI and the Fluent Design System.
MIT License
2.65k stars 612 forks source link

TextSection Color Design Guidance Update Color Contrast #1566

Closed karkarl closed 1 week ago

karkarl commented 2 weeks ago

Description

Update text color for the tertiary and disabled brush colours to satisfy colour contrast for accessibility:

Motivation and Context

Fixes internal bug: Bug 51099086: [WinUI 3 Gallery: Design Guidance: Color]: Color contrast ratio for "Text / Disabled" text is 2.77:1 which is less than 4.5:1.

Screenshots

Before: image

After: image

Types of changes

karkarl commented 2 weeks ago

/azp run