W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] article: do we really need this?

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Wed, 07 Mar 2007 19:35:26 -0500
Message-ID: <45EF5A4E.7050305@metalab.unc.edu>
Matthew Raymond wrote:

>    Would <section role="article"> do? Well, first of all, what would it
> do that a predefined class name wouldn't, since from a markup point of
> view, the only difference is the name of the attribute?

Not much. <section class="article"> is perfectly fine. My mind just 
happened to be in another spec at the moment where there were roles and 
not classes, so I happened to mention role where I probanly should have 
said class.

It's not really a question of whether article makes sense. The question 
is whether it makes *enough* sense. There are arguments for it, but 
they're very weak. I do not see a community crying out for this. I don't 
think it's going to help anybody all that much, and I'm afraid it's 
going to end up like address: a poorly understood, rarely used element 
that's misused more often than it's used properly.

It just doesn't feel like it justifies the space in the spec it takes 
up. :-(

I suspect I could ask the same question of a few other elements as well. 
time and meter come to mind. They at least don't have any obvious 
equivalents already in the spec, and are obvious enough they perhaps 
won't be frequently misused; but do authors actually need these? Will 
they use them?

-- 
?Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
Received on Wednesday, 7 March 2007 16:35:26 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC