[wp-trac] [WordPress Trac] #60140: Copy buttons: Insufficient color contrast ratio for the 'Copied!' text

WordPress Trac noreply at wordpress.org
Fri Dec 22 13:21:17 UTC 2023


#60140: Copy buttons: Insufficient color contrast ratio for the 'Copied!' text
----------------------------+-----------------------------------------
 Reporter:  afercia         |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:  needs-patch has-screenshots
  Focuses:  accessibility   |
----------------------------+-----------------------------------------
 In a few places in the admin interface, WordPress uses a 'Copy' button to
 allow users to copy to the clipboard some values like URLs or the Site
 Health info.

 After the values have been copied, a 'Copied!' text appears to provide a
 confirmation message.

 The text color is a `#008a20` green. When it is used against the default
 light grey background `#f0f0f1` the contrast ratio is only 3.96:1. It
 should be at least 4.5:1.
 See https://jdlsn.com/color/?type=hex&color=008a20&color2=f0f0f1

 When used against a white background, the contrast is okay.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60140>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list