Issue 3643: Focus on Username on login
Review Request #6731 — Created Jan. 4, 2015 and submitted
Originally, the cursor focus would not be on the Username field in the login page. This resulted in users have to press tab multiple times or click on the Username field before filling in the username. With the fix, autofocus is added to the Username field so that the Username field is focused by default.
- Reloaded the login page, and made sure that cursor / focus is on Username field.
- Ensured login by email is still functional.
- Attempted login
- Attempted to change focus
- Change Summary:
-
Removed whitespaces on empty line
- Commit:
-
49c9f7a9b144bcc5eca492cda817890a5c1ad7b4dcb0408facad11e8b0f6ae28e53f76671046f094
- Diff:
-
Revision 2 (+5 -2)
-
Tool: Pyflakes Processed Files: reviewboard/accounts/forms/auth.py Tool: PEP8 Style Checker Processed Files: reviewboard/accounts/forms/auth.py
- Change Summary:
-
Modifying code and review request description based on Barret's feedback
- Description:
-
~ Issue 3643: Focus on Username on login
~ Originally, the cursor focus would not be on the Username field in the login page. This resulted in users have to press tab multiple times or click on the Username field before filling in the username. With the fix, autofocus is added to the Username field so that the Username field is focused by default.
- Commit:
-
dcb0408facad11e8b0f6ae28e53f76671046f0941b6f00c0fe975dd12251431ed2ea561e0acc6d44
Tool: Pyflakes Processed Files: reviewboard/accounts/forms/auth.py Tool: PEP8 Style Checker Processed Files: reviewboard/accounts/forms/auth.py