ISSUE-2076 (animatable role): should @role in SVG be animatable? [Last Call: SVG 1.2 Tiny ]

ISSUE-2076 (animatable role): should @role in SVG be animatable? [Last Call: SVG 1.2 Tiny ]

http://www.w3.org/Graphics/SVG/WG/track/issues/2076

Raised by: Doug Schepers
On product: Last Call: SVG 1.2 Tiny 


<http://lists.w3.org/Archives/Public/www-svg/2008Sep/0135.html>:
[[
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?
]]

Received on Tuesday, 30 September 2008 02:51:51 UTC