<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6653</bug_id>
          
          <creation_ts>2009-03-05 15:46:53 +0000</creation_ts>
          <short_desc>[ARIA 2.0] How should web devs monitor attribute changes?</short_desc>
          <delta_ts>2013-03-22 18:04:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>ARIA</product>
          <component>Core AAM</component>
          <version>1.0</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Last Call</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Bolter">dbolter</reporter>
          <assigned_to name="David Bolter">dbolter</assigned_to>
          <cc>andi.snowweaver</cc>
    
    <cc>bugs</cc>
    
    <cc>m_a_s_7</cc>
    
    <cc>rayrayray111</cc>
          
          <qa_contact name="ARIA UA Implementors">aria-ua-impl</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24055</commentid>
    <comment_count>0</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2009-03-05 15:46:53 +0000</bug_when>
    <thetext>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 &quot;true&quot;, 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=&quot;true&quot; semantic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24724</commentid>
    <comment_count>1</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2009-04-14 19:28:02 +0000</bug_when>
    <thetext>For those with access, please note: http://www.w3.org/WAI/PF/Group/track/issues/201</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24898</commentid>
    <comment_count>2</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2009-04-22 01:20:05 +0000</bug_when>
    <thetext>I&apos;m not sure if this is a priority, since I&apos;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&apos;t expect web authors to list for ARIA attr dom mutation, or to handle them appropriately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25554</commentid>
    <comment_count>3</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2009-06-12 15:09:39 +0000</bug_when>
    <thetext>Might discuss with aria-activedescendent or in section 4 on Managed states. Best Practices Guide discusses so we probably should address in UAIG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30534</commentid>
    <comment_count>4</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-01-05 15:16:04 +0000</bug_when>
    <thetext>Not something the AAPI group can solve. Needs to be taken up by the DOM events group. David to contact them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30547</commentid>
    <comment_count>5</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-01-05 18:21:38 +0000</bug_when>
    <thetext>Hmm, okay so I spoke to a DOM guy and he suggested we should define our own event if we need it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30982</commentid>
    <comment_count>6</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-01-12 16:39:13 +0000</bug_when>
    <thetext>So what&apos;s the next step David? Is this something the API owners have to do?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30987</commentid>
    <comment_count>7</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-01-12 17:31:25 +0000</bug_when>
    <thetext>This bug isn&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31023</commentid>
    <comment_count>8</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-01-13 20:46:33 +0000</bug_when>
    <thetext>Interesting: http://www.w3.org/2008/webapps/wiki/Selector-based_Mutation_Events</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31667</commentid>
    <comment_count>9</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-02-09 16:51:31 +0000</bug_when>
    <thetext>See e-mail thread on DOMAttrModified being deprecated starting at: http://lists.w3.org/Archives/Member/w3c-wai-pf/2010JanMar/0084.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31668</commentid>
    <comment_count>10</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-02-09 16:52:14 +0000</bug_when>
    <thetext>See e-mail thread on DOMAttrModified being deprecated starting at: http://lists.w3.org/Archives/Member/w3c-wai-pf/2010JanMar/0084.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51388</commentid>
    <comment_count>11</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2011-07-22 19:47:32 +0000</bug_when>
    <thetext>Olli, any news on this topic? I&apos;ve not followed it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84864</commentid>
    <comment_count>12</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2013-03-22 18:04:02 +0000</bug_when>
    <thetext>https://developer.mozilla.org/en-US/docs/DOM/MutationObserver</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84865</commentid>
    <comment_count>13</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2013-03-22 18:04:28 +0000</bug_when>
    <thetext>https://developer.mozilla.org/en-US/docs/DOM/MutationObserver</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>