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

hi Ian,

>Yes, in fact the script would _have_ to do that in order for the focusing
>ring mechanism to work properly. That's why it was designed that way.

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.



regards
stevef

2010/1/20 Ian Hickson <ian@hixie.ch>

> On Wed, 20 Jan 2010, Steven Faulkner wrote:
> >
> > in the case where a user clicks on a pseudo text input on the canvas,
> > can a focus rectangle be drawn using the drawfocusring() method?
>
> Sure.
>
>
> > would it not make sense for click to cause the associated
> > (drawfocusring(element, ) text input in the subdom to gain focus?
>
> Yes, in fact the script would _have_ to do that in order for the focusing
> ring mechanism to work properly. That's why it was designed that way.
>
>
> > Thus the drawfocusring() method could be used to cut down on unecessary
> > duplication of event handling for all users as they would be handled by
> > the native elements regardless of whether they had a disibility and
> > required the use of the keyboard or not.
>
> Yes, duplication of code is generally bad programming practice.
>
> --
>  Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>



-- 
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

Received on Wednesday, 20 January 2010 14:00:39 UTC