This test examines the ARIA properties for switch readonly true.

Manual Mode Enabled

StepTypeElement IDAssertions
step 1testtest
API NameAssertions
ATKpropertyroleisROLE_TOGGLE_BUTTON
propertystatescontainsSTATE_READ_ONLY
AXAPIpropertyAXRoleisAXCheckBox
propertyAXSubroleisAXSwitch
propertyAXRoleDescriptionisswitch
resultAXUIElementIsAttributeSettable(AXValue)isfalse
IAccessible2propertyroleisIA2_ROLE_TOGGLE_BUTTON
propertyobjectAttributescontainsxml-roles:switch
propertystatesdoesNotContainIA2_STATE_EDITABLE
UIApropertyControlTypeisButton
propertyLocalizedControlTypeistoggleswitch
propertyValue.IsReadOnlyistrue