hi henri, i think you or I may be misunderstanding. >The subdom isn't being rendered to the visual medium, so presumably it doesn't have CSS boxes generated for it, so it doesn't exist in a coordinate space >where click hit testing could be performed against boxes that correspond to DOM nodes. I am not talking about applying the click hit testing to the subdom, I am talking about what happens when the click occurs trigger a window.location thing or pass the click to the <a> element in the subdom and let it do the navigation event. since one is providing the <a> anyway why would one duplicate its native behaviour? thinking about this a little more... what about the case of a canvas with a pseudo text input drawn on it, wouldn't it make sense to let the input in the subdom deal with the keystrokes and storage of text input? <canvas> <input type="text"> </canvas> again, a keyboard user will be interacting with it, what sense is there in saving and processing the canvas pseudo input content seperately? regards Stevef 2010/1/20 Henri Sivonen <hsivonen@iki.fi> > On Jan 20, 2010, at 15:01, Steven Faulkner wrote: > > > OK, but I am trying to understand why one would do this? > > if you include a link in the canvas sub dom so it will be accessible to > users, why would you duplicate the functionality using script instead of > pointing the click event on the canvas to the link? > > The subdom isn't being rendered to the visual medium, so presumably it > doesn't have CSS boxes generated for it, so it doesn't exist in a coordinate > space where click hit testing could be performed against boxes that > correspond to DOM nodes. > > > in the end if a single method is suitable for all users its a win for all > no? > > Yeah. I'd expect SVG+ARIA to provide that. Can't put the <canvas> cat back > in the bag at this point, though. > > -- > Henri Sivonen > hsivonen@iki.fi > http://hsivonen.iki.fi/ > > > -- 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.htmlReceived on Wednesday, 20 January 2010 13:18:32 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 January 2010 13:18:32 GMT