[wp-trac] [WordPress Trac] #52760: Color not accessibility for AA

WordPress Trac noreply at wordpress.org
Thu Apr 1 21:21:05 UTC 2021


#52760: Color not accessibility for AA
----------------------------+---------------------------------
 Reporter:  Otshelnik-Fm    |       Owner:  sabernhardt
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  5.7.1
Component:  Administration  |     Version:  5.7
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  accessibility, css
----------------------------+---------------------------------

Comment (by ryelle):

 Rather than try to change all the link colors to get the blue link text to
 pass 4.5 contrast ratio against Red 5, I've tweaked how the site statuses
 are colored. In the PR above, I'm using Red 0 for both archive and deleted
 sites, and Yellow 0 for spammed and mature sites. This way we don't need
 to adjust the link colors, as both have 4.5+ contrast.

 The other change in that PR is from doing a search of Red 5 as a
 background color, where I found that the menu type label on invalid nav
 items doesn't have enough contrast, so I've changed the background
 (lighter) & border (darker) to increase that contrast.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52760#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list