W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2005

Re: [Techs-scripting]FW: setting focus on a form field using javascript

From: Jim Ley <jim.ley@gmail.com>
Date: Fri, 6 May 2005 15:06:52 +0100
Message-ID: <851c8d31050506070627e9d7f9@mail.gmail.com>
To: w3c-wai-gl@w3.org

> From: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org] On
> > This can work if there is only one field. If there are more fields,
> > then it is quite possible for the user to click on the field and start

No, people move the focus to interact with a page in ways other than
just typing in a form field, it would not only have no other form
fields, but no other links on it either - which means that the form
would be unsubmitable, so could not be useful?

> You could argue that if input itself is the main focus of the page (e.g.
> Google), then it's acceptable...although you could just ensure that the
> markup is such that the input comes first (or at least very early on) so
> even just tabbing to it would take a minimal, negligible amount of time
> and effort.

I cannot agree with this, Google's implementation is not acceptable to
me, I'm regularly caught out having tabbed to a submit button or link,
the problem is not the focusing, it's the unpredictable timing of the
focusing.  Seen as the group has already had a scripting technique
offered without this problem, then I don't really see why people are
continuing to defend the broken techniques used by google and others?

Jim.
Received on Friday, 6 May 2005 14:07:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:37 UTC