<?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>13669</bug_id>
          
          <creation_ts>2011-08-04 03:55:33 +0000</creation_ts>
          <short_desc>Indicating batch changes to the DOM</short_desc>
          <delta_ts>2012-01-06 00:41:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Greg Lowney">gcl-0039</reporter>
          <assigned_to name="Greg Lowney">gcl-0039</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>cooper</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52311</commentid>
    <comment_count>0</comment_count>
    <who name="Greg Lowney">gcl-0039</who>
    <bug_when>2011-08-04 03:55:33 +0000</bug_when>
    <thetext>There should be a method by which a script can signal the beginning and end of a batch of related changes to the document object. This will allow assistive technology to avoid dealing with transient intermediate states.

Ideally it would be possible to indicate a specific portion of the document that is changing.

This could also be implemented using a flag indicating a change is in progress.

Use case: Nadia is using a screen reader while interacting with a page. She activates a button which causes the script to update significant amounts of the page&apos;s content, fetching new information from the web in a process that overall takes several seconds, perhaps with a pause or two in the middle. When the changes begin, Nadia&apos;s screen reader starts announcing them, but the process goes on with hundreds of different changes. Ideally, the script would fire a pair of events bracketing these changes, so the screen reader could tell Nadia that the page was updating but then not tell her more until the second event told it the update was completed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52314</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-08-04 04:13:48 +0000</bug_when>
    <thetext>The new design for mutation events should solve this automatically in most cases.  The actual mutation event won&apos;t fire until the script drops back to the event loop, at which point any listeners are given a list of changes that have happened (instead of receiving multiple events, one per change).

So, there shouldn&apos;t be any need to make this explicit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53995</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:35:10 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54250</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-05 15:40:08 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: no spec change
Rationale: 

Even with the mutation events as they are now, so long as the accessibility tool waits for the event loop to spin, it&apos;s sufficient. This is actually already defined in the spec: the event loop specifically says that UI is only updated on step 5, between tasks.

Now if the issue is that a script is updating things in multiple tasks, then that&apos;s covered by the ARIA live region feature. You would just turn the updates in the region off for a while.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56389</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2011-09-06 15:20:48 +0000</bug_when>
    <thetext>Bug triage sub-team doesn&apos;t think this is a HTML A11Y TF priority because it seems to be addressed. However, if Greg thinks there are still issues, may need to track after all. Assigning to Greg to re-flag or close.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>