Re: You Got Your SVG in my Canvas! Mmm, Delicious! (was: hit testing and retained graphics)

Hi Paul,

I need to be able to assign a path on canvas and associate it with a dom
element that has the accessibility information. My only reason for using
the path to do hit testing and wire the pointer events, when the path is
hit, to route the events to that same DOM object was to provide a vehicle
to get the bounds of the dom element by providing a vehicle that authors to
get hit testing and provide this accessibility aspect for free.

Why would you not be able to create a huge rounded boarder with the path
and process the events? Is that you are only interested in a hit on the
transparent edges of the path? What happens to you if the mouse event
results in a click within the rounded edges of the circle?  ... Just trying
to understand.

Rich

Rich Schwerdtfeger
CTO Accessibility Software Group



From:	Paul Bakaus <pbakaus@zynga.com>
To:	"Tab Atkins Jr." <jackalmage@gmail.com>, Richard
            Schwerdtfeger/Austin/IBM@IBMUS
Cc:	"public-canvas-api@w3.org" <public-canvas-api@w3.org>,
            "public-canvas-api-request@w3.org"
            <public-canvas-api-request@w3.org>, Doug Schepers
            <schepers@w3.org>
Date:	07/01/2011 03:57 AM
Subject:	Re: You Got Your SVG in my Canvas! Mmm, Delicious! (was: hit
            testing and retained graphics)
Sent by:	public-canvas-api-request@w3.org



Guys,

I just wanted to be crystal clear again what our needs are - they're well
defined over here:
http://lists.w3.org/Archives/Public/www-svg/2011Apr/0050.html

I would like to solve one problem at hand. I don't want a path. I don't
want to use Canvas. I want to take a DOM element, put "pointer-events:
opacity" on it and have it work. I want to be able to design a GUI with
huge rounded borders and be able to click through the transparent edges at
the borders. This is not just relevant to game devs. I only answered to
this discussion because I thought my proposal might be relevant, when I
read "hit testing" in the message title.

I am *not* trying to solve the accessibility problem for our games at this
time. It's definitely very desired, but not something we can tackle
through tech alone, and it must be well planned.

Am 01.07.11 00:15 schrieb "Tab Atkins Jr." unter <jackalmage@gmail.com>:

>On Thu, Jun 30, 2011 at 1:01 PM, Richard Schwerdtfeger
><schwer@us.ibm.com> wrote:
>> You are wasting people's time and going around in circles - just like
>>Ian.
>> You know nothing about accessibility and what is important for
>> accessibility.
>
>I'm glad we can have useful and productive discussions.  I apologize
>for being dense as concrete, and offering nothing of value.  I try my
>best. ;_;
>
>~TJ

Received on Friday, 1 July 2011 16:09:40 UTC