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: Steven Faulkner <faulkner.steve@gmail.com>
Date: Wed, 20 Jan 2010 13:59:46 +0000
Message-ID: <55687cf81001200559s328db585v32369947969eddfd@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Henri Sivonen <hsivonen@iki.fi>, Maciej Stachowiak <mjs@apple.com>, public-canvas-api@w3.org, HTML WG <public-html@w3.org>
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:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:12 UTC