Opened 3 days ago

Last modified 2 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
Pull Requests:How to create a pull request

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.

According to the ticket's flags, the next step(s) to move this issue forward are:

  • To provide a patch by sending a pull request. Claim the ticket when you start working so that someone else doesn't duplicate effort. Before sending a pull request, review your work against the patch review checklist. Check the "Has patch" flag on the ticket after sending a pull request and include a link to the pull request in the ticket comment when making that update. The usual format is: [https://github.com/django/django/pull/#### PR].

Change History (4)

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

Component: Uncategorizedcontrib.admindocs
Type: UncategorizedBug

by Sarah Boyce, 2 days ago

Attachment: image-20250305-100550.png added

comment:2 by Sarah Boyce, 2 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