[wp-trac] [WordPress Trac] #32495: WP Admin bar multi-level menu accessibility

WordPress Trac noreply at wordpress.org
Mon May 25 17:44:37 UTC 2015


#32495: WP Admin bar multi-level menu accessibility
--------------------------+-----------------------------
 Reporter:  joedolson     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 If an admin toolbar dropdown is added with multiple level dropdowns and
 the intermediary parent is not linked, the descendant dropdowns are not
 accessible.

 This is because the adminbar switches to a `<div>` for the parent
 container if there's no link, and it can't receive focus.

 Patch switches this to an anchor link that points to the list item
 container ID for a target value. This could also be solved by adding
 `tabindex="0"` to the `div`, but that would require duplicating the focus
 and hover styles.

 Example: See adminbar navigation implementation in Yoast SEO

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32495>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list