[wp-trac] [WordPress Trac] #32294: Focus style: Switch View links

WordPress Trac noreply at wordpress.org
Sun May 10 17:06:55 UTC 2015


#32294: Focus style: Switch View links
--------------------------+--------------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, accessibility
--------------------------+--------------------------------

Comment (by afercia):

 Replying to [comment:2 ocean90]:
 > I think we should remove the 5px left margin from `.view-switch > a + a`
 to put both links a bit together again.
 Yup, I'm also wondering if the child selector `>` is really needed in all
 the other rules, I don't see any reason for that. The previous patch
 missed the color change on focus, tried to simplify selectors and clean up
 a bit and all appears to work fine. Also, the clickable area should
 probably be a bit bigger on smaller screens, see screenshot below:

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

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


More information about the wp-trac mailing list