Reason for using <article> to designate widgets instead of <section>
I have just been trying out your great base theme. I was just curious why <article> is used to section off WP widgets in the sidebar, rather than <section> which seems (to me) to be the more appropriate choice. I have just been reviewing the difference between the two on http://html5doctor.com/the-section-element/. It seems that <article> typically represents blog posts, magazine articles, i.e., document data that is usually syndicated, whereas <section> designates other kinds of page or application elements that have a header (which is exactly how I would describe WP widgets).
I have just been working with a Bootstrap-based Drupal theme, and they use <section> for Drupal blocks (the equivalent of WP widgets), and reserve <article> for actual post content.
However I am still new to HTML5 and you may very well have a good argument for your choice.
The same site you linked too states that... "The article element represents a component of a page that consists of a self-contained composition in a document, page, application, or site and that is intended to be independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content." - http://html5doctor.com/the-article-element/ (emphasis by me)
And since Aside wraps around the entire sidebar blocks, and the browsers can understand the difference between a standalone article, and an article that is a part of an aside, i think it's an acceptable use.
Html5doctor states on the section element article you linked to above "Don’t use it if article, aside or nav is more appropriate"... with quote i posted above, could we say that article is more appropriate? or do you still not think it is?
EDIT: They also state regarding section "Don’t use it unless there is naturally a heading at the start of the section". Some widgets don't naturally have headers. Have a look at Ben's sidebar - he has NO headers (http://benword.com/) except for a small "find me" h5 tag.
Well, no, I'm not convinced. :) I guess I'm basing my argument mostly on how I've seen HTML5 elements used. And I just like the idea of an "article" being precisely that - a post, a story, comment, a piece of content - not so much a summary of several pieces of content (like a WP widget showing a list of posts - though there might be <article>s within that list). For me, a WordPress widget does not feel like an article.
I'm posted this only because this is the first time I've seen <article> used to represent something like a widget or block; in my limited exposure to HTML5, <section> has been chosen for that sort of thing. Though I'd be happy to be proven wrong (seeing as my exposure is indeed limited).
In any case, no worries, it ain't no showstopper.
Oh, and remember that HTML 5 is still experimental and not complete, anything could change :) Just not sure if 100% of widgets match the definition of what a section element is supposed to be used for? created a patch so if @retlehs agrees that section is better then its easier to pull it in. :)
Thanks for considering a patch - now you've convinced me to give Roots a shot for some of my projects :)
pulled in with e7bb63e5f3180b4922dd25e9a621824f5c74facb - thanks guys!