This test examines the ARIA properties for searchbox activedescendant.

then role:searchbox, aria-activedescendant: bob

Manual Mode Enabled

StepTypeElement IDAssertions
step 1eventtestSend event focus to the element with ID test
step 2testtest
API NameAssertions
ATKpropertyroleisROLE_ENTRY
propertystatescontainsSTATE_SINGLE_LINE
propertyinterfacescontainsEditableText
propertystatesdoesNotContainSTATE_FOCUSED
propertystatescontainsSTATE_FOCUSABLE
AXAPIpropertyAXRoleisAXTextField
propertyAXSubroleisAXSearchField
propertyAXRoleDescriptionissearch text field
propertyAXFocusedisfalse
IAccessible2propertyobjectAttributescontainstext-input-type:search
MSAApropertyroleisROLE_SYSTEM_TEXT
propertystatesdoesNotContainSTATE_SYSTEM_FOCUSED
propertystatescontainsSTATE_SYSTEM_FOCUSABLE
UIApropertyControlTypeisEdit
propertyLocalizedControlTypeissearch box
propertyIUIAutomationElement.UIA_IsKeyboardFocusablePropertyIdistrue
propertyIUIAutomationElement.UIA_HasKeyboardFocusPropertyIdisfalse
step 3testbob
API NameAssertions
ATKpropertystatescontainsSTATE_FOCUSED
propertystatescontainsSTATE_FOCUSABLE
AXAPIpropertyAXFocusedistrue
resultAXUIElementIsAttributeSettable(AXFocused)istrue
MSAApropertystatescontainsSTATE_SYSTEM_FOCUSED
propertystatescontainsSTATE_SYSTEM_FOCUSABLE
UIApropertyIUIAutomationElement.UIA_IsKeyboardFocusablePropertyIdistrue
propertyIUIAutomationElement.UIA_HasKeyboardFocusPropertyIdistrue