For usability, Drupal should focus on the first relevant form field
Key words and phrases
jquery focus on first drupal form on the page usability enhancement automatically highlight form field element in keyboard navigationTags
Description
For a basic, but nice, usability improvement Drupal, for all pages where a form is the center of attention, the first form field that people should type in should have the keyboard focus given to it.
Here's a method for doing it with JQuery: http://www.gerd-riesselmann.net/development/focus-first-form-field-with-...
This would have to skip the search field, which is often at the top, unless the search field were the only form field on a page, in which case it might make a lot of sense to target the search field. It should also not focus on send-to-friend and other miscellaneous fields in sidebars or other non-main forms.
Of course, there's a module for thatTM
Post new comment
