Alert dialog box
An alert dialog box is a special dialog box that is displayed in a graphical user interface when something unexpected occurred that requires immediate user action.
≈ 2 min read
Alert dialog box. encyclopegia.org, snapshot enwiki-001363221567. /a/alert-dialog-box
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
An alert dialog box is a special dialog box that is displayed in a graphical user interface when something unexpected occurred that requires immediate user action. The typical alert dialog provides information in a separate box to the user, after which the user can only respond in one way: by closing it.
Closing an alert dialog will provide access to the original window, which is not available while the alert dialog is presented. Alert dialogs that block the application are regarded as a bad design solution by usability practitioners, since they are prone to produce mode errors.
Also when used as error dialogs, they have been shown to be ineffective in their goals to inform users about an error condition or protect from a destructive operation.
]] An alert dialog box is a special dialog box that is displayed in a graphical user interface when something unexpected occurred that requires immediate user action. The typical alert dialog provides information in a separate box to the user, after which the user can only respond in one way: by closing it.
Closing an alert dialog will provide access to the original window, which is not available while the alert dialog is presented. Alert dialogs that block the application are regarded as a bad design solution by usability practitioners, since they are prone to produce mode errors.
Also when used as error dialogs, they have been shown to be ineffective in their goals to inform users about an error condition or protect from a destructive operation.
Example
alert() is the name of the method used in JavaScript to spawn an alert dialog. The argument to the method is the text to be displayed in the window. A dialog created this way will contain a yellow triangle warning symbol (similar to those found on electrical devices), the text of the warning message, and a single button saying "OK" which will close the window.
Such a dialog also assumes control over the user interface, preventing the user from proceeding with any other task in the application until the dialog window is closed.
Text derived from https://en.wikipedia.org/w/index.php?oldid=1363221567 under CC BY-SA 4.0; modifications have been made.