A dialog with no arguments or options.
"Open Dialog" button above launches the dialog.
OKbutton 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.
SELECTelements. IE 6 typically renders drop-down menus above everything on the page; we use a workaround involving an invisible
IFRAMEto prevent this. (As a side-effect, drop-down menus will disappear altogether in IE 6 when a semi-opaque overlay appears on top. Sadly, there is no workaround for this.)
A dialog that has a string of text as its content, plus two custom buttons.
OKbutton was designated the "primary" button in this dialog. It should be visually distinct from the
OKbutton should receive focus when the dialog opens. Pressing SPACE or ENTER should press whatever button is in focus.
Cancelbutton, 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.