Opened 5 days ago

Last modified 5 days 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: Accepted
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 (2)

blockquote-example.png (155.5 KB ) - added by Eliana Rosselli 5 days ago.
Example from Django Admin Docs of a blockquote with poor color contrast on dark mode
image-20250305-100550.png (108.7 KB ) - added by Sarah Boyce 5 days ago.

Download all attachments as: .zip

Change History (4)

by Eliana Rosselli, 5 days 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, 5 days ago

Component: Uncategorizedcontrib.admindocs
Type: UncategorizedBug

by Sarah Boyce, 5 days ago

Attachment: image-20250305-100550.png added

comment:2 by Sarah Boyce, 5 days ago

Triage Stage: UnreviewedAccepted

Agreed the contrast can be improved, thank you for the ticket

Note: See TracTickets for help on using tickets.
Back to Top