[wp-trac] [WordPress Trac] #50702: Invalid tabindex in screen-reader-shortcut

WordPress Trac noreply at wordpress.org
Mon Aug 17 14:24:45 UTC 2020


#50702: Invalid tabindex in screen-reader-shortcut
---------------------------------------------+----------------------------
 Reporter:  erikjandelange                   |       Owner:  audrasjb
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  5.6
Component:  Toolbar                          |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:  accessibility
---------------------------------------------+----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"48812" 48812]:
 {{{
 #!CommitTicketReference repository="" revision="48812"
 Accessibility: Toolbar: Don't output the "Skip to toolbar" link in modern
 themes that support the `wp_body_open` action.

 The links is unnecessary there, as the toolbar is the first thing in the
 DOM within the `<body>` element.

 For themes that don't implement the `wp_body_open` action yet and render
 the admin bar in the footer, the "Skip to toolbar" link with
 `tabindex="1"` is still necessary, to ensure it's the first focusable
 element in the page.

 Props sarahricker, afercia, erikjandelange, audrasjb.
 Fixes #50702.
 }}}

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


More information about the wp-trac mailing list