[wp-trac] [WordPress Trac] #47682: The links "hover" color has insufficient color contrast

WordPress Trac noreply at wordpress.org
Tue Jul 7 09:51:40 UTC 2020


#47682: The links "hover" color has insufficient color contrast
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  ryokuhi
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.5
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  wpcampus-report color-contrast has-  |     Focuses:  ui,
  screenshots has-patch commit                   |  accessibility
-------------------------------------------------+-------------------------
Changes (by afercia):

 * keywords:  wpcampus-report color-contrast has-screenshots has-patch =>
     wpcampus-report color-contrast has-screenshots has-patch commit


Comment:

 @ryokuhi I'd totally second your comment. Thanks for the patch!

 [attachment:"47682.diff"] builds on the previous patch and avoids to
 change unrelated colors. It only changes all the occurrences of `#00a0d2`
 when used for `:hover` (and in some cases also for `:active` and
 `:focus`).

 The only usages of `#00a0d2` in core are for borders and backgrounds.
 There's at least one case where the `#00a0d2` background doesn't have a
 sufficient color contrast with white text but this should be addressed in
 a separate ticket.

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


More information about the wp-trac mailing list