Re: Mutation events replacement

On Fri, Jul 8, 2011 at 6:55 AM, Sean Hogan <shogun70@westnet.com.au> wrote:
> On 8/07/11 10:21 PM, Sean Hogan wrote:
>> - ARIA support in JS libs currently involves updating aria-attributes to
>> be appropriate to behavior the lib is implementing. Attribute mutation
>> listeners would allow an inverse approach - behaviors being triggered off
>> changes to aria-attributes.
>
> As has been mentioned, listening for attribute mutations is horrendously
> inefficient because your handler has to receive every mutation, even if only
> interested in one attribute.

This is a limitation of current mutation events.  We don't have to
repeat this mistake.  Allowing a script to listen for changes to a
specific attribute is a big low-hanging fruit.

~TJ

Received on Friday, 8 July 2011 18:06:37 UTC