- From: Jon Hanna <jon@spin.ie>
- Date: Fri, 21 Feb 2003 15:32:40 -0000
- 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. Really you'd have to make sure that nothing was focused (users focus links as well). Even then it creates confusing behaviour :(
Received on Friday, 21 February 2003 10:31:19 UTC