tags:

views:

45

answers:

1

is there a reason Firefox and Safari (on my Mac) are skipping over the element when I tab between fields in this form?

<form> <input type="text" name="tags" id="tags" tabindex=1/> <button id="launch" tabindex=2>do it!</button> <textarea name="comment" id="comment" tabindex=3></textarea> </form>

I shouldn't have to put tabindex in, but even with it it skips the button. I have seen documentation that button elements should accept tabindex.

thanks

A: 

It worked for me in Chrome on Linux, so it might not be a problem with your HTML.

One guess: Mac OS by default does not make buttons focusable with Tab-- only text boxes and lists. Maybe Firefox and Safari are merely respecting this setting. You can change it in the System Preferences.

Phil
thanks, too bad there's no way to do it for other users. makes it hard to design a friendly interface if they can't tab to a button without changing their system prefs.
brad