Mapping HTML5 to UI Automation

Applies to Windows and Windows Phone

The table in this section shows how HTML5 elements and element types map to Microsoft Active Accessibility roles, and to Microsoft UI Automation control types and control patterns.

Note  The following table shows the default Microsoft Active Accessibility roles and UI Automation control types. If an element includes an Accessible Rich Internet Applications (ARIA) role attribute, it overrides the defaults.

UIA control patterns
ElementElement typeMSAA roleUIA control typeSupportedUnsupported
AUDIO, VIDEONot applicableROLE_SYSTEM_GROUPING Group
Subelements of AUDIO/VIDEO

(media controls)

buttonsROLE_SYSTEM_PUSHBUTTON Button Invoke Toggle
textROLE_SYSTEM_STATICTEXT Text
slidersROLE_SYSTEM_SLIDER Slider
CANVASNot applicableROLE_SYSTEM_GRAPHIC Image
INPUThtmlInputRangeROLE_SYSTEM_SLIDER Slider RangeValue

htmlInputUrl

htmlInputEmail

htmlInputNumber

htmlInputTel

htmlInputSearch

ROLE_SYSTEM_TEXT Edit Value, Text Invoke, Selection
PROGRESSNot applicableROLE_SYSTEM_PROGRESSBAR ProgressBar RangeValue
SVGanchor (a)ROLE_SYSTEM_LINK Hyperlink Invoke

text

tspan

textpath

ROLE_SYSTEM_TEXT Text
all other typesROLE_SYSTEM_GRAPHIC Image

 

Related topics

Mapping HTML and ARIA properties to UI Automation
UI Automation

 

 

Show:
© 2014 Microsoft