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

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 UTC