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  


Received on Monday, 29 September 2008 01:02:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:20 UTC