You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RichTextBlock: selection brushes do not switch to high-contrast system colours #24344
Text rendering honours high contrast, but the selection highlight brushes do not switch to the system high-contrast colours, so the selection can fall below the theme's guaranteed contrast.
WinUI handles this via RichTextBlock::SetBackPlateConfiguration.
Why is this needed? 🤔
High-contrast themes exist to guarantee legibility; a selection that ignores them can make selected text unreadable for the users who need it most.
Renderer 🎨
Skia
Native
For which platforms 📱💻🖥️
All platforms 🌍
Anything else we need to know? 💬
Follow-up from the RichTextBlock deep-core port; recorded in specs/richtextblock-winui-port/port-validation-winui-2.4.0.md.
Activity