Confirmation dialog (sometimes called warning
alert boxes)
[Java Look and Feel Design Guidelines, Alert Boxes](_blank)
/ref> is a dialog box
The dialog box (also called dialogue box (non-U.S. English), message box or simply dialog) is a graphical control element in the form of a small window that communicates information to the user and prompts them for a response.
Dialog boxes are ...
that asks user to approve requested operation. Usually this dialog appears before a potentially dangerous operation is performed (program termination, file deletion, etc.)
Typically confirmation dialog boxes have two buttons
A button is a fastener that joins two pieces of fabric together by slipping through a loop or by sliding through a buttonhole.
In modern clothing and fashion design, buttons are commonly made of plastic but also may be made of metal, wood, ...
(e.g. ''Yes'' / ''No'', ''Confirm'' / ''Cancel'') or three buttons (e. g. ''Save'' / ''Discard'' / ''Cancel'').
Some human interface guidelines recommend avoiding unnecessary confirmation dialogs. BlackBerry
The blackberry is an edible fruit produced by many species in the genus ''Rubus'' in the family Rosaceae, hybrids among these species within the subgenus ''Rubus'', and hybrids between the subgenera ''Rubus'' and ''Idaeobatus''. The taxonomy of ...
and Sun Java
Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's List ...
UI guidelines recommended a confirmation button be put before a cancellation button; but a default button should not be associated with a major destructive action.[BlackBerry GUI guidelines]
References
See also
* Error-tolerant design
An error-tolerant design (also: human-error-tolerant design) is one that does not unduly penalize user or human errors. It is the human equivalent of fault tolerant design that allows equipment to continue functioning in the presence of hardware ...
* 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.
The typical alert dialog provides information in a separate box to the user, after ...
{{GUI-stub
Graphical user interface elements