[wp-trac] [WordPress Trac] #41589: Add aria-current="page" to the admin menu current item

WordPress Trac noreply at wordpress.org
Sat Sep 9 14:49:55 UTC 2017


#41589: Add aria-current="page" to the admin menu current item
------------------------------------+----------------------------
 Reporter:  afercia                 |       Owner:  afercia
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  4.9
Component:  Administration          |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  aria-current has-patch  |     Focuses:  accessibility
------------------------------------+----------------------------
Changes (by afercia):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41359"]:
 {{{
 #!CommitTicketReference repository="" revision="41359"
 Administration: Admin menu: Use `aria-current` for the current active
 page.

 The `aria-current` attribute is a simple, effective way to communicate to
 assistive
 technologies which the current item within a set of items is. While the
 admin menu
 structure isn't 100% ideal (the top-level item is repeated also as a sub-
 item)
 adding `aria-current="page"` to the sub-items gives an important feedback
 to
 assistive technologies users.

 This change introduces `aria-current` for the first time in core. Worth
 noting
 there are other places where it can be used to improve accessibility.
 These should
 be addressed in separate tickets and patches.

 Fixes #41589.
 }}}

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


More information about the wp-trac mailing list