Browse files

Merge pull request #14 from shane-tomlinson/autofocus

Add the autofocus attribute to the appropriate elements to be more keyboard accessible.
  • Loading branch information...
2 parents f685f33 + f50ddc7 commit eabf4a75e17f25d32ca00c77eb65858727abddf3 @lloyd lloyd committed Aug 30, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 static/browserid/sign_in.html
  2. +1 −1 static/index.html
View
2 static/browserid/sign_in.html
@@ -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>
View
2 static/index.html
@@ -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>

0 comments on commit eabf4a7

Please sign in to comment.