<?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>10964</bug_id>
          
          <creation_ts>2010-10-02 00:16:35 +0000</creation_ts>
          <short_desc>Canvas needs to support a backing store in the DOM subtree capable of supporting screen reading</short_desc>
          <delta_ts>2012-01-24 17:24:26 +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>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11ytf, a11y_canvas</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>11239</blocked>
    
    <blocked>11240</blocked>
    
    <blocked>11241</blocked>
    
    <blocked>11242</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Rich Schwerdtfeger">schwer</reporter>
          <assigned_to name="Rich Schwerdtfeger">schwer</assigned_to>
          <cc>cooper</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>
    
    <cc>shelleyp</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>40470</commentid>
    <comment_count>0</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2010-10-02 00:16:35 +0000</bug_when>
    <thetext>In order to support a text editing in the subtree and ensure properer positioning of text canvas must support:

- application of CSS to the canvas subtree even though the content is hidden to support proper text layout and support a screen reader

- provisions for capturing events used in contenteditable areas to allow for backingstore synchronization with the visual canvas. Examples of these event capture of text events, selection, and text insertion, text deletion, and caret movement, within contenteditable areas in the canvas subtree also known as fallback content. This is to allow synchronization with visual canvas to allow an accessible one for one mapping. 

- Functions for retrieving selected text ranges and the caret position in content editable areas

Given the deadline tonight and the early stages of our addressing building a backing store for &lt;canvas&gt; I was asked to put what may be needed in the backing store.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40471</commentid>
    <comment_count>1</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2010-10-02 00:17:31 +0000</bug_when>
    <thetext>I should clarify that this is for rich text editing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40472</commentid>
    <comment_count>2</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2010-10-02 00:53:34 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; In order to support a text editing in the subtree and ensure properer
&gt; positioning of text canvas must support:
&gt; 
&gt; - application of CSS to the canvas subtree even though the content is hidden to
&gt; support proper text layout and support a screen reader

Nothing prevents applying CSS to the children of a &lt;canvas&gt; right now.


&gt; - provisions for capturing events used in contenteditable areas to allow for
&gt; backingstore synchronization with the visual canvas. Examples of these event
&gt; capture of text events, selection, and text insertion, text deletion, and caret
&gt; movement, within contenteditable areas in the canvas subtree also known as
&gt; fallback content. This is to allow synchronization with visual canvas to allow
&gt; an accessible one for one mapping. 
&gt; 
&gt; - Functions for retrieving selected text ranges and the caret position in
&gt; content editable areas

I&apos;m not sure how either of these have anything to do with &lt;canvas&gt;&apos;s backing store.  The backing store is the pixel array used to hold the image data.  It has nothing to do with the children of the &lt;canvas&gt; element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40813</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-10-07 21:35:47 +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: Did Not Understand Request
Change Description: no spec change
Rationale: concurred with comment 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40843</commentid>
    <comment_count>4</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2010-10-08 12:47:38 +0000</bug_when>
    <thetext>The backing store is not the traditional backing store for what you would see in say the X Windows System to handle offscreen bitmaps. It is a DOM based backing store for what you see in the GUI. Every GUI RTE has one: Office, Open Office, Chrome, FF, IE, etc. 

What is needed is a 1:1 mapping of the caret and selection information stored in the DOM to the GUI rendering. To do that we need to be able to track the caret and selection in the contenteditable areas. 

We are taking time to work this out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40847</commentid>
    <comment_count>5</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2010-10-08 15:54:22 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; The backing store is not the traditional backing store for what you would see
&gt; in say the X Windows System to handle offscreen bitmaps. It is a DOM based
&gt; backing store for what you see in the GUI. Every GUI RTE has one: Office, Open
&gt; Office, Chrome, FF, IE, etc. 
&gt; 
&gt; What is needed is a 1:1 mapping of the caret and selection information stored
&gt; in the DOM to the GUI rendering. To do that we need to be able to track the
&gt; caret and selection in the contenteditable areas. 
&gt; 
&gt; We are taking time to work this out.

Ah, I see.  The term &quot;backing store&quot; already has a completely different meaning in reference to &lt;canvas&gt;, so I was pretty confused.

The latter two bugs in your bug (please file these as separate bugs instead), then, are actually completely about @contenteditable, and not at all about &lt;canvas&gt;, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41760</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-10-26 15:30:02 +0000</bug_when>
    <thetext>Bug triage sub-team says this is A11Y TF priority, assigning to Rich to continue in the canvas group.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42991</commentid>
    <comment_count>7</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2010-12-02 14:41:37 +0000</bug_when>
    <thetext>We have separated out caret and selection tracking into defects:
11239 and 11240. To clarify, yes canvas subtree is a shadow DOM for what is rendered on canvas. That said, canvas API must support the ability to drive screen reader while a user moves the caret and and selection point on the physical canvas. This must be a physical screen position. So, you are correct Tab, that this really belongs to the Canvas 2D API and it will also impact contenteditable areas. So that we can bind the caret and selection information to the visible rendering on canvas. 

Currently, the &lt;canvas&gt; spec. now provides for this subtree which is navigeable from the keyboard and this subtree can be mapped to the accessibility API. This is now implemented in IE 9. So, I believe this bug is fully resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63060</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2012-01-24 16:43:34 +0000</bug_when>
    <thetext>It appears from Rich&apos;s last comment that this bug no longer needs info, is dealt with by other bugs and is implemented. Taking the liberty to call that &quot;fixed&quot; and marking as verified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63062</commentid>
    <comment_count>9</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2012-01-24 17:24:26 +0000</bug_when>
    <thetext>+1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>