Re: "Pave The Cowpaths" Design Principle

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 UTC