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

Re: @role in SVG

From: Simon Pieters <simonp@opera.com>
Date: Thu, 04 Oct 2007 14:47:50 +0200
To: "Doug Schepers" <schepers@w3.org>, "Anne van Kesteren" <annevk@opera.com>
Cc: www-svg <www-svg@w3.org>
Message-ID: <op.tzoa50i4idj3kv@hp-a0a83fcd39d2.palace.opera.no>

On Thu, 04 Oct 2007 14:29:50 +0200, Doug Schepers <schepers@w3.org> wrote:

>>  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?

As currently specced in the ARIA Proposal, ARIA can be used in SVG as  

    <svg xmlns="http://www.w3.org/2000/svg"
     <circle h:role="checkbox" a:checked="true" .../>

The suggestion here is to instead use:

    <svg xmlns="http://www.w3.org/2000/svg">
     <circle role="checkbox" aria-checked="true" .../>


Simon Pieters
Opera Software
Received on Thursday, 4 October 2007 12:48:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:12 UTC