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

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 UTC