18F / myusa

MyUSA was a single sign-on project for government, now deprecated. (More info: https://18f.gsa.gov/2015/05/18/myusa/)
Other
42 stars 9 forks source link

Email login form lacking tabindex #725

Closed jeremiak closed 9 years ago

jeremiak commented 9 years ago

The login by email address form is lacking a tabindex so the browser simply goes in the order by which the elements appear in the DOM:

  1. Email address text input field
  2. Submit button
  3. "Remember me" checkbox

I think that the forms should have a reasonable tab index for users who don't use a mouse very often. The general pattern I see across the web would be:

  1. Email address text input field
  2. "Remember me" checkbox
  3. Submit button

There aren't any other tabindex elements on the page so I believe the values could literally be "1", "2", and "3" without breaking other features.