This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
During some discussion over IRC yesterday Olli Pettay suggested that a performant way of implementing DOM attribute mutations might be to have separate but similar API to DOMAttrModified. Note DOMAttrModified would serve the same purpose, but having the browser create DOM mutation events for all mutations is going to slow the web experience. ARIAAttrModified is tabled as a way of only creating mutation events for aria attributes. Background: why do we need these mutations? In the case that an aria-attribute is modified, not by the web developer (perhaps through platform API), for example aria-sort is set to "true", the web developer is supposed to respond to that change (a dom attr mutation), and put his web application into a state that corresponds with the aria-sort="true" semantic.
For those with access, please note: http://www.w3.org/WAI/PF/Group/track/issues/201
I'm not sure if this is a priority, since I'm not convinced of the use cases yet. It really boils down to whether we think AT will make use of setting ARIA attributes to drive DHTML behaviour. I personally would like WAI-ARIA to provide state information passively, and I don't expect web authors to list for ARIA attr dom mutation, or to handle them appropriately.
Might discuss with aria-activedescendent or in section 4 on Managed states. Best Practices Guide discusses so we probably should address in UAIG.
Not something the AAPI group can solve. Needs to be taken up by the DOM events group. David to contact them.
Hmm, okay so I spoke to a DOM guy and he suggested we should define our own event if we need it.
So what's the next step David? Is this something the API owners have to do?
This bug isn't high priority for browsers that already implement DOMAttrModified. (http://www.quirksmode.org/dom/events/) Also: it is only really necessary to make aria-activedescendant more usable by web developers; where an alternative for them is to poll in js.
Interesting: http://www.w3.org/2008/webapps/wiki/Selector-based_Mutation_Events
See e-mail thread on DOMAttrModified being deprecated starting at: http://lists.w3.org/Archives/Member/w3c-wai-pf/2010JanMar/0084.html
Olli, any news on this topic? I've not followed it.
https://developer.mozilla.org/en-US/docs/DOM/MutationObserver