This test examines the ARIA properties for switch checked value changes.

power

Manual Mode Enabled

StepTypeElement IDAssertions
step 1attributetestSet attribute aria-checked on the element with ID test to the value "true"
step 2testtest
API NameAssertions
ATKpropertyroleisROLE_TOGGLE_BUTTON
propertystatescontainsSTATE_CHECKABLE
propertystatescontainsSTATE_CHECKED
eventtypeisobject:state-changed:checked
eventdetail1is1
AXAPIeventtypeisAXValueChanged
propertyAXRoleisAXCheckBox
propertyAXSubroleisAXSwitch
propertyAXRoleDescriptionisswitch
propertyAXValueis1
IAccessible2propertyroleisIA2_ROLE_TOGGLE_BUTTON
propertyobjectAttributescontainsxml-roles:switch
propertyobjectAttributescontainscheckable:true
MSAAeventtypeisEVENT_OBJECT_STATECHANGE
UIApropertyControlTypeisButton
propertyLocalizedControlTypeistoggleswitch
propertyToggle.ToggleStateisOn
eventtypeisTogglePattern.ToggleStateProperty