W3C home > Mailing lists > Public > www-svg@w3.org > October 2007

Re: @role in SVG

From: Doug Schepers <schepers@w3.org>
Date: Thu, 04 Oct 2007 08:29:50 -0400
Message-ID: <4704DCBE.7000402@w3.org>
To: Anne van Kesteren <annevk@opera.com>
Cc: www-svg <www-svg@w3.org>, Simon Pieters <simonp@opera.com>

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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:37 GMT