Sign in page form focus post validation
19 Jan 2011 - 2:53pm
2 replies
1212 reads
Anyone have strong feelings regarding form focus after failing validation on a sign in page? In the wild, form focus seems to vary quite a bit. Some sites remove focus completely and the user must click back into the forms. Others put focus on the incorrect form. While others blow away any information entered and set focus on the username form.
Read through the following examples and insert your expectation (mine are at the bottom):
Scenario 1: Bad password entered
- User loads sign in page
- User enters username correctly
- User mistypes password
- User submits forms
- System refreshes page and _____.
Scenario 2: No data submitted
- User loads sign in page
- User submits forms
- System refreshes page and _____.
Scenario 3: With a captcha
- User loads sign in page
- User enters user name correctly
- User enters password correctly
- User mistypes captcha
- User submits forms
- System refreshes page and _____.
My expectations:
- Focus on form that failed. My uncertainty with this are possible security issues by putting emphasis on the incorrect form. Considering that, removing focus makes more sense. Additionally, I also expect the password field to be cleared.
- Same as above, but focus on first failed field. In this case, focus username.
- Clear password and set focus on it. The user then has to retype their password and type the new captcha words in. Username is saved (any potential security issues doing so?).
I appreciate any thoughts on this.
Comments
Regarding your security concerns: the username name is for identification, the password for authentication. Giving feedback whether the username is known by the system is (should not be) a security risk.
A captcha is used for sign-up forms. There is no reason to use it in login forms as the password is supposed to keep unauthorized people (and robots) out.
Above statements simplify your design problem. My solution would be:
Yohan
Ylab, designers for interaction
www.ylab.nl
Thanks, Yohan.