[wp-trac] [WordPress Trac] #34904: The design of the focus outline on buttons/elements could be improved

WordPress Trac noreply at wordpress.org
Thu Sep 19 20:07:44 UTC 2019


#34904: The design of the focus outline on buttons/elements could be improved
-------------------------------------------------+-------------------------
 Reporter:  michaelarestad                       |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.3
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  color-contrast needs-patch blessed   |     Focuses:  ui,
  wpcampus-report needs-testing                  |  accessibility
-------------------------------------------------+-------------------------

Comment (by kjellr):

 Just added [attachment:"34904.7.diff"], which includes the button styles
 in the followup iteration described here:

 https://make.wordpress.org/design/2019/09/06/discussion-higher-contrast-
 form-fields-and-buttons/#comment-25971

 The colors use:

 - `#fff` text on a `#007cba` background for the primary buttons (Contrast
 ratio 4.57:1)
 - `#555` text on a `#f1f1f1` background for the secondary buttons
 (Contrast ratio 6.6:1)


 **Screenshots:**

 [[Image(https://cldup.com/iuHBnd68Bf-3000x3000.png)]]

 [[Image(https://cldup.com/tSsy7JxkZs-3000x3000.png)]]

 [[Image(https://cldup.com/u5hl-9XPkg-3000x3000.png)]]

 [[Image(https://cldup.com/DMkGB704Yg-3000x3000.png)]]

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


More information about the wp-trac mailing list