W3C home > Mailing lists > Public > public-canvas-api@w3.org > July to September 2011

Re: hit testing and retained graphics

From: Charles Pritchard <chuck@jumis.com>
Date: Thu, 07 Jul 2011 07:03:54 -0700
Message-ID: <4E15BCCA.60306@jumis.com>
To: paniz alipour <alipourpaniz@gmail.com>
CC: Richard Schwerdtfeger <schwer@us.ibm.com>, cyns@exchange.microsoft.com, david.bolter@gmail.com, franko@microsoft.com, Mike@w3.org, public-canvas-api@w3.org, public-html@w3.org, public-html-a11y@w3.org
Yes, they are implemented in IE9. You can use Inspector or other 
MSAA/UIAutomation tools to see
that they are implemented in IE and supported on the OS level.

They do require a number of hooks and the design to be handled in Canvas.

For example, you may not simply setup a select element and use drawImage 
to make
it appear on the canvas. You must draw all of the shapes via Canvas 
commands.

WebKit does support drawImage of SVG documents.

For most HTML form elements, I do suggest using the appropriate HTML 
element, as
some ATs can modify those elements directly, triggering things like 
onchange.


-Charles


On 7/7/2011 6:57 AM, paniz alipour wrote:
> Hi Charles,
>
> _They can be marked up with form elements or with general html elements
> __and WAI-ARIA roles in the shadow dom._
>
> These can be implemented in IE9?
>
> Also Can I see those widget type are they as web widget ,are they as 
> usual or no have some incredible design?
>
> Thanks
>
> On Thu, Jul 7, 2011 at 6:21 PM, Charles Pritchard <chuck@jumis.com 
> <mailto:chuck@jumis.com>> wrote:
>
>     Paniz,
>
>     Along with my team, I've implemented all of these widget types in
>     Canvas.
>     They can be marked up with form elements or with general html elements
>     and WAI-ARIA roles in the shadow dom.
>
>     There is an issue, however: currently, ATs are not made aware of
>     the bounding
>     rectangles of such elements until/unless the element is in focus.
>
>     Other than that, they work the same as other widgets, and supply
>     the same
>     information to the OS.
>
>     -Charles
>
>
>     On 7/7/2011 6:41 AM, paniz alipour wrote:
>>     Hi Richard,
>>
>>     I mean for example I have an interaction UI on canvas as like web
>>     pages,
>>
>>     textbox,radiobutton ,checkbox,.... .I want to know these elements
>>     that are drawn or are images on canvas
>>
>>     could be incredible,Of course they can but in your opinion how
>>     many percent it is possible(forexample checkbox with height 70
>>     and width 70)
>>
>>     Best Regards
>>
>>     On Thu, Jul 7, 2011 at 6:02 PM, Richard Schwerdtfeger
>>     <schwer@us.ibm.com <mailto:schwer@us.ibm.com>> wrote:
>>
>>         Hi Paniz,
>>
>>         I am not quite following you. Could you please provide more
>>         detail?
>>
>>         Thanks,
>>
>>
>>         Rich
>>
>>
>>         Rich Schwerdtfeger
>>         CTO Accessibility Software Group
>>
>>         Inactive hide details for paniz alipour ---07/07/2011
>>         06:32:18 AM---Hello to all, Maybe you think that this
>>         question is not relpaniz alipour ---07/07/2011 06:32:18
>>         AM---Hello to all, Maybe you think that this question is not
>>         related to this discussion,
>>
>>         From: paniz alipour <alipourpaniz@gmail.com
>>         <mailto:alipourpaniz@gmail.com>>
>>         To: Richard Schwerdtfeger/Austin/IBM@IBMUS
>>         Cc: chuck@jumis.com <mailto:chuck@jumis.com>,
>>         franko@microsoft.com <mailto:franko@microsoft.com>,
>>         Mike@w3.org <mailto:Mike@w3.org>, david.bolter@gmail.com
>>         <mailto:david.bolter@gmail.com>, cyns@exchange.microsoft.com
>>         <mailto:cyns@exchange.microsoft.com>,
>>         public-canvas-api@w3.org <mailto:public-canvas-api@w3.org>,
>>         public-html-a11y@w3.org <mailto:public-html-a11y@w3.org>,
>>         public-html@w3.org <mailto:public-html@w3.org>
>>         Date: 07/07/2011 06:32 AM
>>
>>         Subject: Re: hit testing and retained graphics
>>         ------------------------------------------------------------------------
>>
>>
>>
>>         Hello to all,
>>
>>         Maybe you think that this question is not related to this
>>         discussion,
>>
>>         But I want to know whether the web widget that are located on
>>         canvas,
>>
>>         are they incredible .I mean a check box with height 70,weight 70,
>>
>>         or no it will design as the common web widget on websites?
>>
>>         Thanks
>>
>>         On Fri, Jun 17, 2011 at 11:11 PM, Richard Schwerdtfeger
>>         <_schwer@us.ibm.com_ <mailto:schwer@us.ibm.com>> wrote:
>>
>>               Charles, Frank, Mike,
>>
>>               I am back from vacation. How far do we need to go with
>>               hit testing? Right now I am looking at associating a
>>               closed draw path with a DOM object in the canvas
>>               subtree. We would then need to address the routing of
>>               pointing device input events to the DOM object. The
>>               drawing path can be used to provide bound information
>>               to platform accessibility API.
>>
>>               Do we need to bind any other drawing properties to the
>>               canvas object - similar to the way device context's are
>>               handled on graphic subsystems like Windows?
>>
>>               Mike, I am including you as before I went on vacation
>>               you indicated that a number of developers desired this
>>               feature and wanted to be involved.
>>
>>               Rich
>>
>>
>>               Rich Schwerdtfeger
>>               CTO Accessibility Software Group 
>>
>>
>>
>>
>>
>>         -- 
>>         Paniz Alipour
>>
>>
>>
>>
>>     -- 
>>     Paniz Alipour
>
>
>
>
> -- 
> Paniz Alipour
Received on Thursday, 7 July 2011 14:04:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:10:32 UTC