[drupal-devel] [bug] Using tabindex in user login form

ax drupal-devel at drupal.org
Mon Sep 5 00:01:08 UTC 2005

Issue status update for 
Post a follow up: 

 Project:      Drupal
-Version:      4.6.0
+Version:      cvs
 Component:    user.module
 Category:     bug reports
-Priority:     minor
+Priority:     normal
 Assigned to:  Anonymous
 Reported by:  tostinni
 Updated by:   ax
-Status:       patch (code needs review)
+Status:       patch (ready to be committed)

very useful! how often do i find myself irritated that i'm not in the
password field after <input username> <tab>.

patch applies cleanly against current cvs and works as expected. a big


Previous comments:

Wed, 17 Aug 2005 17:14:55 +0000 : tostinni

Attachment: http://drupal.org/files/issues/user_tabindex.patch (1.75 KB)

When the drupal module is activated, when you go to /user to log in, you
have a link that appear to Drupal.org Enter your drupal username, or an
ID from one of our affiliates: Drupal., so when you use "tab" to switch
from one input to another, you go in order :
- username input
- Drupal link
- password input
So I think the logic is biased as you're supposed to reach first
username, then password and end by the submit button.

This patch add tabindex to input fields to force this behaviour.

More information about the drupal-devel mailing list