This test examines the ARIA properties for switch checked true.

power

Manual Mode Enabled

StepTypeElement IDAssertions
step 1testtest
API NameAssertions
ATKpropertyroleisROLE_TOGGLE_BUTTON
propertystatescontainsSTATE_CHECKABLE
propertystatescontainsSTATE_CHECKED
AXAPIpropertyAXRoleisAXCheckBox
propertyAXSubroleisAXSwitch
propertyAXRoleDescriptionisswitch
propertyAXValueis1
IAccessible2propertyroleisIA2_ROLE_TOGGLE_BUTTON
propertyobjectAttributescontainsxml-roles:switch
propertyobjectAttributescontainscheckable:true
MSAApropertystatescontainsSTATE_SYSTEM_CHECKED
UIApropertyControlTypeisButton
propertycontrolPatternscontainsToggle
propertyLocalizedControlTypeistoggleswitch
propertyToggle.ToggleStateisOn