Re: @role in SVG

Hi, Anne-

Anne van Kesteren wrote (on 10/4/2007 7:47 AM):
> 
> On Thu, 04 Oct 2007 13:42:12 +0200, Doug Schepers <schepers@w3.org> wrote:
>> Dave Raggett wrote (on 10/4/2007 7:10 AM):
>>>  I also find class to be useful for creating rich web applications, 
>>> e.g. for a slide presentation, class makes it easy for the associated 
>>> script to distinguish which g elements are intended as slides. The 
>>> XHTML role attribute provides for a more robust solution and would be 
>>> a valuable addition to future versions of SVGT.
>>>  See http://www.w3.org/TR/xhtml-role/
>>
>> I've found exactly the same thing (and for exactly the same example ;) 
>> ).  I strongly agree with this, and have put this issue on our agenda. 
>> It's especially interesting in light of the ARIA work and the 
>> discussions about HTML5.
> 
> Cool! I thought about this too and I don't think there's much harm in 
> simply allowing role= and all the aria-* attributes on SVG elements as 
> well. They don't bring any associated DOM interfaces with them 

That's what I was thinking too, which leads me to believe this could be 
integrated as early as possible into SVG 1.2 (maybe even Tiny).


> and it only makes things easier for authors. 

And users, yup.


> It would be pretty trivial to
> modify the ARIA proposal for HTML5 to make it suitable for SVG as well. 
> As some kind of add-on to both (X)HTML and SVG.

Sounds great.  Let's follow up on that... at the Tech Plenary, perhaps?

Regards-
-Doug Schepers
W3C Staff Contact, SVG, CDF, and WebAPI

Received on Thursday, 4 October 2007 12:30:03 UTC