W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Re: Proposal: Canvas accessibility and a media querries approach for alternative content (Action Item 6 in the HTML Accessibility Task Force)

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 20 Jan 2010 11:49:20 +0000 (UTC)
To: Steven Faulkner <faulkner.steve@gmail.com>
Cc: public-canvas-api@w3.org, HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.64.1001201147460.3958@ps20323.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 20 January 2010 11:49:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:00 GMT