[wp-trac] [WordPress Trac] #21324: Visible Focus within Admin Screens could be much clearer.

WordPress Trac noreply at wordpress.org
Fri Oct 19 14:17:16 UTC 2012


#21324: Visible Focus within Admin Screens could be much clearer.
----------------------------+--------------------
 Reporter:  grahamarmfield  |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.5
Component:  Accessibility   |     Version:  3.4.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+--------------------

Comment (by helenyhou):

 Replying to [comment:56 lessbloat]:
 > Turns out line 311 in wp-admin.css is what's preventing the default
 :focus outline behavior in the admin:
 >
 > {{{
 > a, input, select, textarea, div {
 > outline: 0;
 > }
 > }}}

 Seems to me we shouldn't be doing that at the global level at all and just
 setting it to none in more specific cases we don't want the outline.
 div:focus probably doesn't need it, for instance, if it even gets it in
 the first place. Then the browser does its thing for everything else.

 Replying to [comment:57 rianrietveld]:
 > The span with the permalink has a tabindex="-1". Why? <span id="sample-
 permalink" tabindex="-1">.../?page_id=2</span>

 #21340 - perhaps we should reopen with a comment about that?

 > Further: with a overlay screen like "Choose a Featured Image", the focus
 stays in the page it self and doesn't move to the overlay.

 Not sure we have a ticket specifically about this - I couldn't find one.
 May be worth opening one, although do no note that the media overlays are
 completely new in 3.5, and we do have some specific work being done for
 this cycle on #21283 for the customizer.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21324#comment:58>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list