hi henri,
>Do you mean that the UA should check if a 'click' event handler is on the
call stack when drawfocus() is called?
Forgive my ignorance, but i don't understand what you are talking about.
what i mean is when a region of the canvas is being monitored for clicks and
the response to a click is to call the drawfocus() method, this method
includes a reference to an element, then the calling of the drawfocus()
method should cause the focus to move to the referenced element. rather
than the developer having to manually move focus to the element via
scripting.
for example, with the pseudo text box example, when a user clicks on the
pseudo text box focus is moved to the <input type="text"> in the canvas
subdom.
regards
stevef
2010/1/20 Henri Sivonen <hsivonen@iki.fi>
> On Jan 20, 2010, at 15:59, Steven Faulkner wrote:
>
> > what i am suggesting is that when a click invokes the drawfocus() method,
> this causes the associated element to recieve focus, rather than have to add
> a object.focus() via script.
>
> Do you mean that the UA should check if a 'click' event handler is on the
> call stack when drawfocus() is called?
>
> --
> 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.html