|
Article on other languages:
|
An error message is a message displayed when an unexpected condition occurs, usually on a computer or other device. Error messages are often displayed using dialog boxes. Error messages are used when user intervention is required, indicate that a desired operation has failed, or give very important warnings such as being out of hard disk space. Error messages are pervasive throughout computing, and are part of every operating system, or computer hardware device. Proper design of error messages is an important topic in usability and other fields of human-computer interaction.
Common error messagesThese computer-related error messages occur in almost all programs.
Famous error messagesError message linguisticsThe amount of memory available to programs has historically increased exponentially according to Moore's Law; contrapositively, it decreases exponentially into the past. Due to such pressures, past programmers were innately sensitive to memory consumption, and such sensitivities extended to error messages. Extraneous words were shunned, no matter their grammatical necessity. "File not found" could have read "The file could not be found," but such a statement would have been twice as memory-expensive. Error message usability checklistTo be effective, an error message must contain the following information[1]:
Message formatThe format for error messages is not static. The format of error messages is dependent on many things, however the three main factors[2] that influence the format design are as follows. Technical limitationsThe strengths and restrictions of the technology you're working with should be among the first things you take into account when planning error messages. You must be careful to ensure that the medium you use to communicate the error supports the size, shape, and style of your error message. Amount of information presentedThe nature of the error message will determine the amount of information required for the error message. If the error message is short –"Sorry, our Web site is currently undergoing maintenance, Please try again later." it may be more effective as a pop-up window than as a separately loaded page. This is because short messages can easily be drowned out if there is other content on the page. If there is no other content on the error message page, then the short error message will look out of place on a big empty page. User input requiredFinally, you should choose an error message format based on the type of input you require from the user to correct a problem. Errors that simply inform the user of a problem that they can’t fix, such as a busy server on a website, are best suited to pop ups. In this situation, all you need to do is inform the user of the problem, as no corrective action aside from trying again later. The only control available to the user should be the “Ok” button. However, controls such as “Retry/OK” and “Cancel” should be used if the user is being prompted to corrective action. For example, “Windows encountered an error and needs to restart. Would you like to restart now?” should include an option to cancel and to restart. The buttons should correspond to the available options, i.e. “Restart now” button vs. “OK”, and “Later” vs. “Cancel”. This makes the options clearer to the user and thereby being conducive to correct decision making. Presentation guidelinesThe presentation and appearance of error messages are critical factors that heavily influence how well a user comprehends and responds to an error message. The following three principles[3] should be adhered to when designing an error message. Capture the user's attentionThe visual attributes of an error message, including its color, size, and location can and should be used to grab the user’s attention and inform them that an error has occurred. Usually, the color red, a bold font, and the location at the top of the page and in front of any other window are good ways to allow the user to know that an error is present. In addition, an exclamation point is often used as an iconographic symbol to express importance. Explain what went wrongTo effectively communicate with users, the application must speak their language. Messages must explain what the problem is using terminology that even a novice user can understand. The key idea here is to explain what went wrong, not just tell the user an error code. This is not to say to never include error codes in the error message. Instead, explain it in the proper context if it could prove useful. For example, an error message could reference error code 3555 and display the message “Please contact our help desk and reference error code 3555 for assistance”. Show where error occurred and suggest possible solutionsPointing users to solutions can be accomplished many ways. The language used is an important factor in getting users to understand what went wrong and consequently, how to fix it. For example, a poor error message might read, "You have entered an invalid string character in Field 123A". A better error message reads, "The zip code field contains an invalid character. Only numbers may be entered". Novice users won’t know what a string character or field 123A is, but they will recognize what the zip code field and “numbers” are. Additionally, you can show the user exactly where the problem occurred by providing visual cues such as highlighting the field label with color, font treatment, and iconographic images. Once an error is located, instructions should be given to the user on corrective action, once again explained in the users’ language. Providing examples of acceptable input is also a powerful technique for suggesting solutions for certain types of errors. Design heuristicsThe following is a general set of guidelines to aid in the effective design of error messages[4]. There are many more that can be found in many different texts and this list is by no means absolute. Those included below are only a few of the commonly accepted heuristics.
Popular CultureUsing a programming language such as PHP, JavaScript, Visual Basic or C++, one can easily create their own error messages. As a result, many websites and programs exist that do just that, allowing a person to create a message and display it on another person's computer, in an attempt to trick them. See alsoReferences
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net