Opened 4 hours ago
Last modified 4 hours ago
#36230 assigned Bug
Better color contrast for blockquote in admin docs
Reported by: | Eliana Rosselli | Owned by: | Eliana Rosselli |
---|---|---|---|
Component: | contrib.admindocs | Version: | 5.1 |
Severity: | Normal | Keywords: | accessibility colors contrast |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the Admin Docs, the color contrast for text in blockquotes is quite low, making the text very hard to read. An example can be seen in the template tags docs.
The blockquote color is hard-coded to a shade of gray that isn’t visible in the dark theme. It needs switching to an existing CSS variable so the color contrast is good enough in both themes.
Attachments (1)
Change History (2)
by , 4 hours ago
Attachment: | blockquote-example.png added |
---|
comment:1 by , 4 hours ago
Component: | Uncategorized → contrib.admindocs |
---|---|
Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
Example from Django Admin Docs of a blockquote with poor color contrast on dark mode