Skip to content

Commit

Permalink
Merge pull request mozilla#14 from shane-tomlinson/autofocus
Browse files Browse the repository at this point in the history
Add the autofocus attribute to the appropriate elements to be more keyboard accessible.
  • Loading branch information
lloyd committed Aug 30, 2012
2 parents f685f33 + f50ddc7 commit eabf4a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/browserid/sign_in.html
Expand Up @@ -23,7 +23,7 @@
</p>

<form>
Password: <input type="password" id="password"></input><br>
Password: <input type="password" id="password" autofocus></input><br>
<div><button type="submit">Sign In</button> <button class="cancel">Cancel</button></div>

</form>
Expand Down
2 changes: 1 addition & 1 deletion static/index.html
Expand Up @@ -48,7 +48,7 @@
</p>

<form>
Username: <input type="text" id="username">@eyedee.me</input><br>
Username: <input type="text" id="username" autofocus>@eyedee.me</input><br>
Password: <input type="password" id="password"></input><br>
<button>Sign In</button>
</form>
Expand Down

0 comments on commit eabf4a7

Please sign in to comment.