Re: hit testing and retained graphics

On 7/7/2011 10:46 AM, Tab Atkins Jr. wrote:
> On Thu, Jul 7, 2011 at 10:38 AM, Charles Pritchard<chuck@jumis.com>  wrote:
>> On 7/7/2011 10:07 AM, Doug Schepers wrote:
>>> 2) Make the shape, size, and position information available through a
>>> special accessibility API, updated and maintained in parallel to changes to
>>> the rendered shape;
>> This API already exists (with shape as an exception); it's the accessibility
>> tree and its implemented by most vendors as a separate
>> tree which is updated when changes are made to the DOM tree.
> This is incorrect.  Size and position are *not* drawn from the
> accessibility subtree.  All three pieces of information that Doug
> listed have to be explicitly indicated by the author in your proposal.
He said that we'd make the information "available". Yes, of course the 
author
has to indicate the information in the first place.
> (I could see a solution where this isn't the case, and the DOM
> actually *does* act as a form of scene graph, but that probably
> requires a new context to be written.  It's also remarkably similar to
> Doug's proposal to put Canvas in SVG.)
In SVG, the author also sets up the size and position information.

It's with semantic HTML that the UA may "automatically" handle position
and sizes.

SVG and Canvas both require the author to decide that something is being 
painted
and what those shapes are.

Received on Thursday, 7 July 2011 17:54:59 UTC