W3C home > Mailing lists > Public > public-html@w3.org > March 2013

Validity constraints on <section>

From: Robin Berjon <robin@w3.org>
Date: Thu, 21 Mar 2013 11:02:24 +0100
Message-ID: <514ADAB0.20507@w3.org>
To: "HTML WG (public-html@w3.org)" <public-html@w3.org>
Hi,

there are increasing concerns over the excessive use of <section>. Some 
authors seem to basically think of it as "sexy modern <div>" for no 
particular reason (a good example: http://lockerz.com/).

The specification does have some advice about only using <section> for 
content that is meant to appear in the document outline, but given that 
the outline doesn't show up anywhere, that's not something that's ever 
likely to stop this drift.

I've therefore been wondering: would it make sense to make section 
invalid if it does not have heading content as its direct children? Put 
differently, what are the use cases for a headless section?

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Thursday, 21 March 2013 10:02:37 GMT

This archive was generated by hypermail 2.3.1 : Thursday, 21 March 2013 10:02:37 GMT