Re: @role in SVG

Currently I cannot see a big advantage in the role 
draft compared to class.
A simple attribute cannot really cover the lack
of semantics, even if a few values are predefined.
It would require a huge list of predefined values for
(X)HTML and several additional values for
graphics as SVG (for example the (X)HTML elements
as values, useful for the textArea element).
But of course, if the communities really start
to collect useful values to put it into a recommendation, 
this may work (and there is not much to do for 
implementors in a first approach as maybe to display 
the role values similar to the values of the title attribute
in (X)HTML, maybe only on demand from the user).

What I currently learned, trying to mark up 
classical and modern poems either with XHTML1.1
(or HTML5) or with SVG, that there is surprisingly 
almost no semantic advantage in using (X)HTML
compared with SVG, because (X)HTML has no 
semantics for poems, SVG does not have either, 
but both have a class attribute ;o)

This can only be improved with a role attribute,
having many predefined values, leaving class 
with only meaningless values ...

Received on Thursday, 4 October 2007 12:17:29 UTC