[wp-trac] [WordPress Trac] #42056: Twenty Seventeen: role="complementary" are missing labels

WordPress Trac noreply at wordpress.org
Sun Oct 1 16:03:54 UTC 2017


#42056: Twenty Seventeen: role="complementary" are missing labels
---------------------------+-----------------------------
 Reporter:  sami.keijonen  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  4.8.2
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 From the quidelines:

 > If a particular role appears more than once on a page, you should
 provide an ARIA label for that role

 We do this already for `<navigation>` but not for `<aside>`. Just like
 navigation there can be several `<aside role="complementary">`  in the
 theme and we should provide labels for them. Otherwise screen readers
 would announce 2 "complementary" regions without knowing the separation of
 them

 https://cloudup.com/cOjsuxTbf1E

 [[Image(https://cldup.com/Gj_CY0Dl81-1200x1200.png)]]

 I propose that we add labels to `<aside>` with the same as widget names:

 1. Blog Sidebar
 1. Footer 1
 1. Footer 2

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


More information about the wp-trac mailing list