[wp-trac] [WordPress Trac] #47891: TwentyEleven Skip Link Placement Not First In <body>

WordPress Trac noreply at wordpress.org
Sat Aug 17 13:35:00 UTC 2019


#47891: TwentyEleven Skip Link Placement Not First In <body>
---------------------------+-----------------------------
 Reporter:  williampatton  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  5.2.2
 Severity:  normal         |   Keywords:  needs-patch
  Focuses:  accessibility  |
---------------------------+-----------------------------
 It was reported that TwentyEleven has a ''skip link'' that does not appear
 as the first thing inside the `<body>`. For a11y reasons I believe that
 having the skip link, where one exists, as the first content is highly
 preferable.

 Related comment:
 https://core.trac.wordpress.org/ticket/47053#comment:4

 This ticket proposes we swap to using a hook based approach to adding
 bypass links here and then use that same approach across all of the
 default themes - ultimately making it the standard way of themes adding
 their initial skip links.

 Using the `wp_body_open` hook with fallback it is possible as outlined in
 this comment on that same ticket:
 https://core.trac.wordpress.org/ticket/47053#comment:2

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


More information about the wp-trac mailing list