W3C home > Mailing lists > Public > www-svg@w3.org > September 2008

[1.2T LC] should @role in SVG be animatable?

From: Al Gilman <Alfred.S.Gilman@IEEE.org>
Date: Sun, 28 Sep 2008 21:01:21 -0400
Message-Id: <9F0280DA-F3B3-49B1-B555-0D313D759A50@IEEE.org>
Cc: www-svg <www-svg@w3.org>
To: "w3c-wai-pf@w3.org PF" <w3c-wai-pf@w3.org>


As regards WAI-ARIA alone, the answer should be 'no.'  In our best  
practices we instruct script authors not to change the role of an  
element, but rather to destroy the DOM object for that element and  
create a new object with the new role.

This is because the consumers of the accessibility APIs expect the  
role of a node to be static, just as xml:lang is not animatable in SVG.

SVG documents that animate the value of @role would confuse the AT  
consumers of the accessibility APIs.  I suppose that the browser  
could trap these
property-change events and destroy and create the object in the  
accessible object graph, but then...

Can anybody come up with a use case for animating the @role value  
using the currently-defined roles from either the XHTML Role Module  
or WAI-ARIA?

Al
/self

http://www.w3.org/TR/2008/WD-xhtml-role-20080407/
http://www.w3.org/WAI/PF/aria/
Received on Monday, 29 September 2008 01:02:03 GMT

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