- From: Ian Hickson <ian@hixie.ch>
- Date: Wed, 20 Jan 2010 12:40:50 +0000 (UTC)
- To: Steven Faulkner <faulkner.steve@gmail.com>
- Cc: public-canvas-api@w3.org, HTML WG <public-html@w3.org>
On Wed, 20 Jan 2010, Steven Faulkner wrote: > > >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? That is not what I said, no. I'm not sure how to phrase what I said more clearly. To clarify, if I may: "click" is a mouse gesture, "hit enter" is a keyboard gesture. These are different input devices with different resulting DOM events. Click events are targetted based on the coordinates of the mouse cursor. Keyboard events are targetted based on the current focus. HTH, -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 20 January 2010 12:41:23 UTC