[wp-trac] [WordPress Trac] #30556: Modern widgets default wrapper

WordPress Trac noreply at wordpress.org
Sat Apr 25 23:43:05 UTC 2015


#30556: Modern widgets default wrapper
-------------------------+--------------------------------------
 Reporter:  LeoPeo       |       Owner:  ocean90
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Future Release
Component:  Widgets      |     Version:  2.2
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  accessibility, template
-------------------------+--------------------------------------

Comment (by afercia):

 Replying to [comment:46 Otto42]:
 > What is landmark navigation and how does it relate to this issue?
 Please install a screen reader. I'd recommend NVDA to be used with
 Firefox. Then, actually ''use it''. Then, please, read again the specs :)
 "aside" elements are mapped to "role=complementary".
 http://www.w3.org/TR/html5/sections.html#the-aside-element
 http://www.w3.org/TR/wai-aria/roles#complementary
 Add, say, 10 widgets into your sidebar. You don't want to hear (example
 from Twenty Fifteen theme):

 {{{
 complementary landmark
 search landmark
 SEARCH
 button
 complementary landmark
 RECENT POSTS
 heading  level 2
 complementary landmark
 RECENT COMMENTS
 heading  level 2
 complementary landmark
 ARCHIVES
 etc. ...
 }}}
 that's because each widget is currently an "aside" and thus mapped to
 "complementary" role. Instead, the widget area should be one, single,
 aside. Currently, we have just ''too many landmarks''.
 Please consider screen readers allow users to navigate through landmarks
 using specific keystrokes, in NVDA you can do that just pressing "D". See:
 http://www.w3.org/WAI/GL/wiki/Using_ARIA_landmarks_to_identify_regions_of_a_page
 Additionally, worth considering not all widgets are really "tangentially
 related" to the main content. (calendar? search?).

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


More information about the wp-trac mailing list