This test examines the ARIA properties for dialog modal true.

Modal Dialog Box Test

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