This test examines the ARIA properties for aria-expanded value changes.

then emit the platform accessibility events for changes to the value of aria-expanded.

Manual Mode Enabled

StepTypeElement IDAssertions
step 1attributetestSet attribute aria-expanded on the element with ID test to the value true
step 2testtest
API NameAssertions
ATKeventtypeisobject:state-changed:expanded
eventdetail1is1
AXAPIeventtypeisAXRowExpanded
eventtypeisAXRowCountChanged
MSAAeventtypeisEVENT_OBJECT_STATECHANGE
UIAeventtypeisExpandCollapsePattern.ExpandCollapseStateProperty
step 3attributetestSet attribute aria-expanded on the element with ID test to the value false
step 4testtest
API NameAssertions
ATKeventtypeisobject:state-changed:expanded
eventdetail1is0
AXAPIeventtypeisAXRowCollapsed
eventtypeisAXRowCountChanged
MSAAeventtypeisEVENT_OBJECT_STATECHANGE
UIAeventtypeisExpandCollapsePattern.ExpandCollapseStateProperty