[wp-trac] [WordPress Trac] #32915: Buttons: focus style review

WordPress Trac noreply at wordpress.org
Fri Oct 9 23:16:55 UTC 2015


#32915: Buttons: focus style review
---------------------------------------+--------------------------------
 Reporter:  afercia                    |       Owner:  afercia
     Type:  enhancement                |      Status:  assigned
 Priority:  normal                     |   Milestone:  4.4
Component:  Administration             |     Version:  4.2
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  ui, accessibility
---------------------------------------+--------------------------------
Changes (by afercia):

 * keywords:  needs-patch needs-screenshots => has-patch has-screenshots


Comment:

 Refreshed patch. I've used the new box-shadow color `rgba( 0, 115, 170, .8
 )` but now when the buttons are close to other form elements (e.g. a
 select or an input field) their box shadow has different colors. Wondering
 if they should match. Even setting the exact same value, the box-shadow
 slightly changes the rendered colors. It would need some rgba value fine
 tuning.
 Screenshots:

 New buttons style, focused before and after the patch:

 [[Image(https://cldup.com/WGhkyg0Q0y.png)]]

 Button with the `.active` class, i.e. the one that looks "pressed":

 [[Image(https://cldup.com/tzgWKl0cFI.png)]]

 Not sure I like the "pressed" state, it just looks misaligned to me :) I
 can understand this while clicking the button but not so much in a
 persistent pressed state.

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


More information about the wp-trac mailing list