Making WordPress.org

Opened 2 weeks ago

Closed 13 days ago

#8284 closed defect (bug) (fixed)

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

Reported by: webvitaminastudio's profile webvitaminastudio Owned by: yaniiliev's profile yani.iliev
Milestone: Priority: normal
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 2 weeks ago.
Inspector tool
image.png (15.9 KB) - added by webvitaminastudio 2 weeks ago.
Error

Download all attachments as: .zip

Change History (5)

@webvitaminastudio
2 weeks ago

Inspector tool

@webvitaminastudio
2 weeks ago

Error

#1 @dd32
2 weeks ago

  • Component changed from General to Profiles

#2 @yani.iliev
13 days ago

  • Owner set to yani.iliev
  • Status changed from new to assigned

#3 @yani.iliev
13 days ago

  • Resolution set to fixed
  • Status changed from assigned to 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.