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

Re: @role in SVG

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 04 Oct 2007 13:47:20 +0200
To: "Doug Schepers" <schepers@w3.org>
Cc: www-svg <www-svg@w3.org>, "Simon Pieters" <simonp@opera.com>
Message-ID: <op.tzn8c6m764w2qv@annevk-t60.oslo.opera.com>

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 and it only  
makes things easier for authors. 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.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Thursday, 4 October 2007 11:47:38 GMT

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