This test examines the ARIA properties for alertdialog modal true.

Modal Dialog Box Test

You have an error.

Manual Mode Enabled

StepTypeElement IDAssertions
step 1testtest
API NameAssertions
ATKpropertyroleisROLE_DIALOG
propertystatescontainsSTATE_MODAL
IAccessible2propertyroleisROLE_SYSTEM_DIALOG
propertystatescontainsIA2_STATE_MODAL
MSAApropertyroleisROLE_SYSTEM_DIALOG
UIApropertyControlTypeisPane
resultWindow.isModalistrue
step 2testTest2
API NameAssertions
AXAPIpropertyaccessibleisfalse