Nick Roper wrote:
Hi,
A customer has requested that they should be able to navigate between
input fields on a form by using the Enter key - i.e. to replicate the
action of the Tab key.
I've seen examples of Javascript code to do this, but I'd be interested
in any feedback on whether there are any issues with this and what the
best approach is to implement.
Thanks,
Nick
Can't offer you technical help Nick, however I think it is your duty to
tell your client this is a terrible idea. The behaviour they describe is
useless (already fulfilled by the tab button), and their desire to have
the enter button perform the same function is completely irrational.
Even if they find it better to use the enter key, no-one else will
expect this. Indeed it is incredibly counter-intuitive because everybody
who uses a keyboard will have very strong notions about what these key
buttons' functions are. To ask them to remap them for your site on
whimsy is suicidal.
And besides, what would replace the enter key? Tab?
If you go ahead with this for whatever reasons, I suggest a JavaScript
alert on pageload that warns the user as to the fundamental breach of
convention that runs on your pages.
Regards,
Barney
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************