This test examines the ARIA properties for option selected value changes.

Fish
beef

Manual Mode Enabled

StepTypeElement IDAssertions
step 1attributetest1Set attribute aria-activedescendant on the element with ID test1 to the value "test"
step 2attributetestSet attribute aria-selected on the element with ID test to the value "true"
step 3attributetest2Set attribute aria-selected on the element with ID test2 to the value "false"
step 4testtest
API NameAssertions
ATKeventtypeisobject:state-changed:selected
eventdetail1is1
MSAAeventtypeisEVENT_OBJECT_SELECTION
eventtypeisEVENT_OBJECT_STATECHANGE
UIAeventtypeisUIA_SelectionItem_ElementSelectedEventId
step 5testtest1
API NameAssertions
ATKeventtypeisobject:selection-changed
AXAPIeventtypeisAXSelectedChildrenChanged
step 6testtest2
API NameAssertions
ATKeventtypeisobject:state-changed:selected
eventdetail1is0