Making WordPress.org

Opened 5 months ago

Closed 5 months ago

#8284 closed defect (bug) (fixed)

Text contrast error on WordPress.org inside error toast in profile page

Reported by: webvitaminastudio Owned by: yani.iliev
Priority: normal Milestone:
Component: Profiles Keywords: has-screenshots
Cc:

Description

I found some error in the CSS of .bg-template-notice.error, var(--c-warn-wash) does not respect accessibility

Images(https://imgur.com/a/ZfyH8kB)

Attachments (2)

image (1).png​ (202.6 KB ) - added by webvitaminastudio 5 months ago.
Inspector tool
image.png​ (15.9 KB ) - added by webvitaminastudio 5 months ago.
Error

Download all attachments as: .zip

Change History (5)

#1 @dd32
5 months ago

  • Component General → Profiles

#2 @yani.iliev
5 months ago

  • Owner set to yani.iliev
  • Status new → assigned

#3 @yani.iliev
5 months ago

  • Resolution → fixed
  • Status assigned → closed

Good catch, thanks! Confirmed and fixed. The notice container's own colors were compliant (#b3261e on the wash measures 5.87:1), but a legacy rule from the previous design (div#message.error p) was still painting the inner paragraph white. The restyle had stripped that rule's red background but not its text color, which left white text on the light pink background. The paragraph now inherits the notice color in all variants (error 5.87:1, success 5.64:1). Fixed in r24840
Props webvitaminastudio dd32

Note: See TracTickets for help on using tickets.