A dialog with no arguments or options.
The "Open Dialog"
button above launches the dialog.
OK
button that dismisses the dialog when clicked. After dismissal, there should be an "OK!"
message aside the launch button, confirming that the dialog was dismissed with success."Cancel!"
message aside the launch button after you press ESC.A dialog that has a string of text as its content, plus two custom buttons.
OK
button was designated the "primary" button in this dialog. It should be visually distinct from the Cancel
button.OK
button should receive focus when the dialog opens. Pressing SPACE or ENTER should press whatever button is in focus.OK
button, the Cancel
button, and the dialog's "close" button. Pressing TAB repeatedly should cycle through these three buttons (without focusing any elements underneath the modal layer). Pressing SHIFT + TAB should follow the same cycle in reverse.