vanillaforums/Garden — pull request #1173 by ckolderup (2011-10-23 07:28:13+00:00)
Title: tab-enter should submit, not cancel, a form

It's dangerous that when you press tab-enter, something people are used to on most web forms with a text box followed by a submit button, that some browsers would select the "Back to Discussions" link and follow it, discarding changes in the text box.

The "tabindex" property can be set in order to give the browser hints about where the keyboard tabbing should go. More information is available at the following links:

http://www.w3.org/TR/html4/interact/forms.html#adef-tabindex
http://www.w3.org/TR/html5/editing.html#sequential-focus-navigation-and-the-tabindex-attribute