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.

Example from Django Admin Docs of a blockquote with poor color contrast on dark mode

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)

blockquote-example.png (155.5 KB ) - added by Eliana Rosselli 4 hours ago.
Example from Django Admin Docs of a blockquote with poor color contrast on dark mode

Download all attachments as: .zip

Change History (2)

by Eliana Rosselli, 4 hours ago

Attachment: blockquote-example.png added

Example from Django Admin Docs of a blockquote with poor color contrast on dark mode

comment:1 by Eliana Rosselli, 4 hours ago

Component: Uncategorizedcontrib.admindocs
Type: UncategorizedBug
Note: See TracTickets for help on using tickets.
Back to Top