[wp-trac] [WordPress Trac] #33767: AX_FOCUS_03: Admin Toolbar Should Use Negative Tabindex for 'Skip to toolbar'

WordPress Trac noreply at wordpress.org
Mon Sep 7 15:19:39 UTC 2015


#33767: AX_FOCUS_03: Admin Toolbar Should Use Negative Tabindex for 'Skip to
toolbar'
-------------------------------------------+-----------------------------
 Reporter:  atomicjack                     |      Owner:
     Type:  defect (bug)                   |     Status:  new
 Priority:  normal                         |  Milestone:  Awaiting Review
Component:  Administration                 |    Version:  trunk
 Severity:  normal                         |   Keywords:
  Focuses:  accessibility, administration  |
-------------------------------------------+-----------------------------
 Admin toolbar currently uses positive tabindex values, this is not
 recommended practice for accessibility.

 {{{
 It is recommended that authors avoid positive values for the tabindex
 attribute because it is brittle (any focusable elements added to the page
 without an explicit tabindex value greater than zero will come last in the
 tab order) and can easily result in a page which is extremely difficult to
 navigate, causing accessibility problems.

 The rules also state that, either all tabindexes must be 0 OR greater than
 0. Currently there are several set to 0, -1, etc. Moving these all to 0 or
 a negative value would ensure the order of tab is predictable and more
 accessibly-friendly.

 }}}

 {{{
 <a class="screen-reader-shortcut" href="#wp-toolbar" tabindex="1">Skip to
 toolbar</a>
 }}}

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


More information about the wp-trac mailing list