[thelist] Triggering form buttons with Keyboard
Martin
martin at members.evolt.org
Thu May 9 04:15:01 CDT 2002
On Thursday, May 9, 2002, at 06:19 am, Syed Zeeshan Haider wrote:
> How can I trigger the form buttons by keyboard using "onKeyPress" event
> of JavaScript?
Form buttons should *already* be usable with keyboard:
http://www.w3.org/TR/UAAG10/uaag10-chktable.html
Checkpoint 1.1 Full keyboard access. (P1)
1. Ensure that the user can operate through keyboard input alone any
user agent functionality available through the user interface.
Try it - tab through your form controls until you get to
the button in question. Then hit return.
If you want to have specific keys activating buttons, then try
the accesskey attribute.
Cheers
Martin
_______________________________________________
email: martin at easyweb.co.uk PGP ID: 0xA835CCCB
martin at members.evolt.org snailmail: 30 Shandon Place
tel: +44 (0)774 063 9985 Edinburgh,
url: http://www.easyweb.co.uk Scotland
More information about the thelist
mailing list