Page MenuHomePhabricator

mw-wikilove-note has insufficient contrast
Closed, ResolvedPublic

Description

Text with class mw-wikilove-note e.g. "(without a signature)" in the screenshot below has contrast ratio 4.35 with its background. 4.5 is required for WCAG level AA compliance. Together with the lighter weight font this makes it very hard to read.

Screenshot 2023-10-07 at 23.35.31.png (458×844 px, 73 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 964171 had a related patch set uploaded (by Pcoombe; author: Pcoombe):

[mediawiki/extensions/WikiLove@master] Fix contrast and readability of text

https://gerrit.wikimedia.org/r/964171

For reference, this is what it looks like with the patch applied:

Screenshot 2023-10-08 at 20-37-25 User Pharos - Wikipedia.png (682×818 px, 110 KB)

Change 964171 merged by jenkins-bot:

[mediawiki/extensions/WikiLove@master] Fix contrast and readability of text

https://gerrit.wikimedia.org/r/964171

Frostly assigned this task to Pcoombe.
Frostly subscribed.