Section 4. Element attributes states that each of node, block and comment "Must include a single root level `<div>` element."

This is all well and nice but if we are using HTML5 we can (and should), in the node and comment cases use the new <article> element instead of a div.

The spec should be updated to reflect this.

Comments

alexweber’s picture

Issue summary: View changes

escaped html tags so they appear in plain text

alexweber’s picture

Issue summary: View changes

clarified post

alexiswatson’s picture

Title: HTML5 Compliance » Do not limit element choice for root elements in theme specification

Similarly, according to the HTML5 spec, in the case of blocks we should be using <section>:

The <section> element represents a generic section of a document or application.

Leave it to the themer to determine proper semantics; simply indicating that there is a single root element with a specific class should suffice.

alexiswatson’s picture

Status: Needs work » Needs review
alexiswatson’s picture

Issue summary: View changes

fix typo