Tab index not working.
nickl - July 28, 2008 - 16:54
| Project: | Remember me |
| Version: | HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Pressing tab from the password field does not set focus to the remember me checkbox, instead focus jumps to the submit button.

#1
Added tabindex attributes to form elements in form alter when adding the checkbox.
<?php$form['name']['#attributes']['tabindex'] = '1';
$form['pass']['#attributes']['tabindex'] = '2';
$form['remember_me']['#attributes']['tabindex'] = '3';
$form['submit']['#attributes']['tabindex'] = '4';
?>
#2
Automatically closed -- issue fixed for two weeks with no activity.