[wp-trac] [WordPress Trac] #36644: Make admin menu skip links accessible to developers

WordPress Trac noreply at wordpress.org
Mon Apr 25 22:13:42 UTC 2016


#36644: Make admin menu skip links accessible to developers
-------------------------------------+-------------------------------------
 Reporter:  littler.chicken          |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.6
Component:  Administration           |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-docs     |     Focuses:  accessibility,
  2nd-opinion                        |  administration
-------------------------------------+-------------------------------------
Changes (by afercia):

 * keywords:  has-patch needs-docs => has-patch needs-docs 2nd-opinion


Comment:

 Interesting idea and worth considering. Not sure adding the ID on the
 heading in `do_settings_sections` would help with "tabs" in plugin
 settings pages since these tabs are usually printed out by other means.
 By the way, the main issue I see here is that many browsers still don't
 give focus to elements targeted with an anchor link if these elements are
 not focusable. That's the reason why the main content `div` has a
 `tabindex="0"` attribute.
 On the other hand, I'm not sure making some elements focusable, for
 example a heading, would be a good thing. I'd recommend to discuss a bit
 this in the next accessibility team meeting.

 Couple things about the patch so far:
 - the admin toolbar ID is `wp-toolbar` not `wpbody-toolbar`
 - the settings section h2 heading text shouldn't use `esc_attr()`

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


More information about the wp-trac mailing list