Opened 2 years ago
Last modified 9 months ago
#34038 closed Bug
Low text contrast and no visual cues for links within body text in admin UI — at Initial Version
Reported by: | Thibaud Colas | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 4.0 |
Severity: | Normal | Keywords: | accessibility, color contrast, ux |
Cc: | William Claassen | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | yes |
Description
The Django admin’s light theme uses a light blue for links within text, with no other distinction of what is a link. This is problematic for two reasons:
- The current shade of blue,
#447e9b
, doesn’t have enough contrast against the white body background. - For people with color blindness, there is no visual cue that a link is a link.
For those reasons, I would recommend:
- Changing the link color of
--link-fg
. My recommendation would be to use an ever-so-slightly darker#437c98
(1% less lightness in HSL representation) - Introduce an underline for all links within body text, so they can be identified unambiguously.
Note:
See TracTickets
for help on using tickets.