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

WordPress Trac noreply at wordpress.org
Mon Oct 7 15:44:45 UTC 2019


#34904: The design of the focus outline on buttons/elements could be improved
-------------------------------------------------+-------------------------
 Reporter:  michaelarestad                       |       Owner:  audrasjb
     Type:  task (blessed)                       |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.3
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  color-contrast blessed wpcampus-     |     Focuses:  ui,
  report has-patch has-screenshots needs-dev-    |  accessibility
  note 5-3-admin-css-changes                     |
-------------------------------------------------+-------------------------

Comment (by afercia):

 [attachment:"34904.14.diff"] tries to improve the active state.

 More accurately, the `:active` browsers state and the `.active` class
 should now be distinguished:
 - the former is unchanged and it's used by browsers ''while'' clicking a
 button
 - the latter is a CSS class meant to be used for buttons that need to look
 "pressed" as, for example, buttons that represent a selected setting

 See in the attached screenshots: permalink buttons and alignment buttons
 in the media modal (button group).

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


More information about the wp-trac mailing list