This is a follow up to this question since it got closed. In a log in form, after the user enters the wrong password, when should the message saying "wrong password or user name" go away? For example should it go away after the first character of the password is typed? This is assuming the message is in plain text beneath the password field (not an alert window or anything like that).
Error messages shouldn't go away on their own unless
- Errors were resolved by User's Input
- User wanted those error messages to be hidden by clicking a X which an error message may have.
If error message is displayed and user makes the same mistake which produces the same error message for the second time, the error message can blink or have a brief color transition which indicates that the error has appear all over again.