html5 windows ui,Mapping HTML5 to UI Automation

Mapping HTML5 to UI Automation

09/24/2015

2 分钟可看完

本文内容

[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]

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

Element

Element type

MSAA role

UIA control type

Supported

Unsupported

AUDIO, VIDEO

Not applicable

ROLE_SYSTEM_GROUPING

Subelements of AUDIO/VIDEO

(media controls)

buttons

ROLE_SYSTEM_PUSHBUTTON

text

ROLE_SYSTEM_STATICTEXT

sliders

ROLE_SYSTEM_SLIDER

CANVAS

Not applicable

ROLE_SYSTEM_GRAPHIC

INPUT

htmlInputRange

ROLE_SYSTEM_SLIDER

htmlInputUrl

htmlInputEmail

htmlInputNumber

htmlInputTel

htmlInputSearch

ROLE_SYSTEM_TEXT

PROGRESS

Not applicable

ROLE_SYSTEM_PROGRESSBAR

SVG

anchor (a)

ROLE_SYSTEM_LINK

text

tspan

textpath

ROLE_SYSTEM_TEXT

all other types

ROLE_SYSTEM_GRAPHIC

Related topics

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值