mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #15787] feat: Improve global UI color contrast for WCAG 2.1 AA compliance #104666
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @christinajoslin on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15787
Check Existing Issues
Problem Description
Although the latest 7/14 release updates High Contrast Mode (Beta), it does not update font colors across the entire application. This leaves much of the UI with contrast levels that do no meet WCAG 2.1 AA standards for accessibility.
Desired Solution you'd like
This issue proposes applying global color updates that improve contrast across both Light and Dark themes and not just within the High Contrast Mode setting. While many styles were tested and adjusted in a local branch, the following color pairings represent the most frequent and impactful contrast improvements:
Normal Text
Light Theme
text-gray-800(#1F2937) onbg-white(#FFFFFF)text-gray-800(#1F2937) onbg-gray-100(#F3F4F6)Dark Theme
text-white(#FFFFFF) onbg-black(#000000)text-gray-100(#F3F4F6) onbg-black(#000000)text-gray-100(#F3F4F6) onbg-gray-850(#1A1E2E)Large Text / UI Components
Light Theme
text-gray-500(#6B7280) onbg-white(#FFFFFF)Dark Theme
text-gray-500(#6B7280) onbg-black(#000000)Contrast ratios were verified using the WebAIM Contrast Checker:
Alternatives Considered
While these updates could be added to the existing High Contrast Mode, the preferred approach is to apply them by default to ensure the application is accessible without requiring users to toggle a setting.
Additional Context
@Classic298 commented on GitHub (Jul 16, 2025):
Damn why does this look comfortable to look at (the high contrast mode)
Like it
@tjbck commented on GitHub (Jul 16, 2025):
We're receptive to high contrast mode PRs, PR welcome!