From 3b4e3d0334f36d76329d40ae5f8795287ec6a85e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 19 Apr 2009 20:54:02 +0000 Subject: - Patch #437930 by soxofaan: remove tabindex attributes from user_login form. --- modules/user/user.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/user/user.module b/modules/user/user.module index 885a3f607..37e88e5a5 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1576,7 +1576,6 @@ function user_login(&$form_state) { '#size' => 60, '#maxlength' => USERNAME_MAX_LENGTH, '#required' => TRUE, - '#attributes' => array('tabindex' => '1'), ); $form['name']['#description'] = t('Enter your @s username.', array('@s' => variable_get('site_name', 'Drupal'))); @@ -1584,10 +1583,9 @@ function user_login(&$form_state) { '#title' => t('Password'), '#description' => t('Enter the password that accompanies your username.'), '#required' => TRUE, - '#attributes' => array('tabindex' => '2'), ); $form['#validate'] = user_login_default_validators(); - $form['submit'] = array('#type' => 'submit', '#value' => t('Log in'), '#weight' => 2, '#attributes' => array('tabindex' => '3')); + $form['submit'] = array('#type' => 'submit', '#value' => t('Log in'), '#weight' => 2); return $form; } -- cgit v1.2.3