W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2003

Re: default cursor focus

From: Isofarro <w3evangelism@faqportal.uklinux.net>
Date: Fri, 21 Feb 2003 14:37:43 +0200
Message-ID: <001201c2d9a6$0dbec5c0$1531f7c2@laptop>
To: "wai" <w3c-wai-ig@w3.org>

From: "Jon Hanna" <jon@spin.ie>
> You're half-way through filling in the second field when the page finishes
> downloading, document.onload kicks in and the focus moves in the middle of
> your typing.
>
> Making the first form field the first item in the tab order is often, but
> not always, a good idea, but switching focus for no obvious (to the user)
> reason isn't.

True. And since javascript is a required to implement this
irritateUserByRefocusing(), there's no reason why the script can't check
where the focus is first before resetting it. Using a bit of logic like
"Well, if the focus is already on a form element, don't move it!" will
certainly be more useful to a visitor.
Received on Friday, 21 February 2003 09:41:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:08 GMT