- From: Steven Faulkner <faulkner.steve@gmail.com>
- Date: Wed, 20 Jan 2010 12:21:18 +0000
- To: Ian Hickson <ian@hixie.ch>
- Cc: public-canvas-api@w3.org, HTML WG <public-html@w3.org>
- Message-ID: <55687cf81001200421i630bff03x8b68709d8428e70b@mail.gmail.com>
Hi Ian, >The click fires on the <canvas>, and the script is responsible for >propagating the click to the link to cause the navigation (the UA has no >idea that it corresponds to the <a>, so it can't happen automatically). so if the script propagates the click to the link element, it would seem that the content of the canvas element should no longer be considered 'fallback' as interaction and resulting actions are routed through the a element in the canavas element for all users not only those with disabilites. >On the other hand, if the user hits enter while the link is focused, the >event goes to the link and the UA does the navigation automatically. so if the link is focused and the user clicks on the region within the focus rectangle then the click will pass to the link without the need for the script? regards stevef 2010/1/20 Ian Hickson <ian@hixie.ch> > On Wed, 20 Jan 2010, Steven Faulkner wrote: > > > > Hi Ian, to get some clarification on what the spec requires > > > > If a user clicks on a region of the canvas that has been scripted to > > naviagte to a n URL with an associated focus rectangle that is > > associated with an <a> element inside the canvas. Does the click get > > passed to the link and a navigation event get triggered? > > > > <canvas> > > <a href="example.html>example</a> > > </canvas> > > The click fires on the <canvas>, and the script is responsible for > propagating the click to the link to cause the navigation (the UA has no > idea that it corresponds to the <a>, so it can't happen automatically). On > the other hand, if the user hits enter while the link is focused, the > event goes to the link and the UA does the navigation automatically. > > HTH, > -- > Ian Hickson U+1047E )\._.,--....,'``. fL > http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. > Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' > -- with regards Steve Faulkner Technical Director - TPG Europe Director - Web Accessibility Tools Consortium www.paciellogroup.com | www.wat-c.org Web Accessibility Toolbar - http://www.paciellogroup.com/resources/wat-ie-about.html
Received on Wednesday, 20 January 2010 12:22:10 UTC