W3C home > Mailing lists > Public > www-html@w3.org > May 2007

Re: "Pave The Cowpaths" Design Principle

From: David Woolley <forums@david-woolley.me.uk>
Date: Sat, 19 May 2007 09:55:22 +0100
Message-ID: <464EBB7A.2030803@david-woolley.me.uk>
To: www-html@w3.org

Maciej Stachowiak wrote:
> <a href="javascript:doSomeScriptAction()" class="ax:button"> --> role = 

I find that many of your examples of role= don't match the HTML role= 
concept.  I would say examples like this are closer to the tagged PDF, 
where presentational markup is mapped onto basic structural markup 
concepts.  The main difference here is that you have structural markup, 
pretending to be presentational markup and then hinted as being a 
different sort of structural markup.  With tagged PDF, the markup is 
unashamedly presentational, and for this sort of structural hinting, 
that is the right way to go; trying to base it HTML is likely to be the 
result of commercial considerations, rather than good design.

My understanding of HTML role= is that it is refining correct structural 
use, in particular to create constructs that are bigger than <p>.
Received on Sunday, 20 May 2007 03:15:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:10 GMT