I love this enhancement to my site's small forms, login, search etc.

However, since installing Hint I can no longer tab from the username to the password field.
This can be an annoyance to regular users who are used to the quick use of tabs to navigate forms.

Is this any easy fix I can do? Or something more in depth?

Thanks for a cool module!

Comments

quicksketch’s picture

Tab still works for me as far as I've tried. It's true that the addition of more fields can throw off the "tabindex" HTML property, since suddenly we've introduced placeholder fields that do not have an index. What browser(s) are you seeing this in? And do you have any other modules that modify the login form?

austintnacious’s picture

Thanks for the response!

I am getting the same thing in both Firefox 3.5.6 and IE8.

Yes, it is something to do with the tabindex.
I see you're setting the tabindex values to 1 & 2 for username and password.
However, after entering a username, I then have to tab almost all around the page to get to the password field. . . in my case about 50 hits on the tab key.
This is on the login form in its block version. The problem still exists on the ./user page but in that case it only takes about 6 strikes on tab to get to the password field.

Other modules I have that are altering the login form are logintoboggan, ajax plugin for logintoboggan, persistent login and string overrides.
At least those are all I know are altering the form, there may be others that do something to it in it's block form like the block cache alter module.

I wish I could be of more direct help. . .

quicksketch’s picture

Hmm, we'll need to find out which module is adding the tabindex (it's not hint.module). I know that the Remember Me module adds tab indexes, for which I had to remove in a hook_form_alter(). Whichever module is adding it, we should try to figure out why it's necessary and see if we can remove them from those modules and submit a patch to them.

donquixote’s picture

quicksketch’s picture

Status: Active » Closed (duplicate)