Andfourth, avoidprematurelydisplayingerrors. Nowlet's take a lookatwhateachoftheseactuallymean. First, wehavetodisplaytheerrormessageclosetotheerrorsource.
Forexample, if a userhadtofillout a formandmissedtherequiredfield, wecouldincreasethevisibilityoftheerrorbyusingboldtext, including a visualthatindicatesthere's anerror, andbyhighlightingtheAlloftheseelementsshouldbevisuallydistinctfromtherestofthepagesotheyareeasilyrecognized.
However, theyshouldavoidusingredformattingtoindicatethatthereisnosevereerrorthantheuserencounters. Fourthandlast, wemustavoiddisplayingtheerrormessagesprematurely.
Thisisbecausethecomplexityofthetaskmakesiterror-proneandtheerrormessageduringtheprocessoftypingguidestheusertoavoidproviding a passwordthatisnotfulfillingthesafetyrequirements.