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

WordPress Trac noreply at wordpress.org
Wed Mar 18 22:44:43 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 mrwweb):

 Replying to [comment:37 obenland]:
 > I agree, section would be more appropriate. On top of the landmark
 issue, asides are meant to be related to the content around them, which
 would not be the case in the majority of widget areas.

 The [http://www.w3.org/TR/html5/sections.html#the-aside-element final
 HTML5 specification of the aside element] allows for a varying definition
 of "related" based on whether the `aside` is nested in an `article` or
 not. (See also: http://html5doctor.com/aside-revisited/,
 http://stackoverflow.com/questions/8407805/best-html5-markup-for-sidebar)

 I believe then that this suggests `aside` would make an excellent
 ''sidebar'' wrapper with each widget wrapped with a `section` element for
 themes with html5 support as suggested by @joedolson.

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


More information about the wp-trac mailing list