Practical Examples:Warning Message
From KDE-HIG_Wiki
[edit]
Warning and Error Messages
Warning and error messages pop up when a problem or error occurred.
[edit]
Guidelines
Language
Warning dialogs should be:
- Understandable:
Phrase your messages clearly, in non-technical terms and avoid obscure error codes. - Specific instead of general:
If the message is reporting a problem concerning a specific object or application, use the object or application name when referring to it. - Informative and constructive:
Tell the user the reason for a problem and give hints how to solve it. - Polite, non-terrifying and non-blaming:
Avoid wording that terrifies the user ("fatal", "illegal"), blames him for his behavior, and be polite.
Confirmation buttons
- To close a warning or error message that does not require further user interaction, provide a Close button. Do not use an OK button. Users sometimes get confused if they are to confirm an error.
- When the user has to choose between two actions, use descriptive button labels instead of Yes and No buttons. For example, if the user has the choice to continue or stop an action, provide the buttons "Continue" and "Cancel".
Details on demand
- Provide only a short error message and complement it by a Details button that provides more a detailed explanation in the same error dialog.
- If it makes sense for this kind of error, link from the error dialog to the corresponding page in the help system. Provide a Help button then.
Choosing the right widget
- Use dialogs for critical error messages, and when you need to make sure that the user sees the message.
- Use info panels to display non-critical messages which do not require any further user interaction (typically dialogs with a single "OK" or "Close" button).
[edit]
Examples
[edit]
Insufficient Permissions
In this example, the user tried to copy a folder named "warning" to the root directory. The following error message was given:
Make it
- less terrifying by avoiding the term "denied",
- more specific by referring to the action in question,
- more informative by explaining the reason for the denial of access,
- more constructive by linking to the help pages about "Permissions",
- more polite by using "Please".
[edit]
File Type not Supported
Here, a user tried to open an unsupported file type:
While a reason was given, it is of little help for the user ("Parsing error"). Make the message
- more specific by referring to the file,
- more informative by using the user's language,
- more constructive by offering alternatives (if known).
[edit]
Implementation Suggestions
[edit]
Accessibility Notes
[edit]
[edit]
See Also
[edit]
Related To
[edit]

