Permalink
Browse files

Add the autofocus attribute to the appropriate elements to be more ke…

…yboard accessible.
  • Loading branch information...
1 parent f6000a1 commit f50ddc7cd786abe1219a7bb114f0af2b0f016cab @shane-tomlinson shane-tomlinson committed Aug 17, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 static/browserid/sign_in.html
  2. +1 −1 static/index.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
@@ -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 f50ddc7

Please sign in to comment.