- 入门指南
- 演示应用程序
- 如何
- 通知
- 使用 VB 表达式
- 设计应用程序
- 使用 Autopilot 设计应用程序
- 事件和规则
- 在应用程序中利用 RPA
- 在应用程序中利用实体
- 在应用程序中利用队列
- 在应用程序中利用媒体文件
- 在应用程序中利用操作
- 在应用程序中利用 Connections
- Studio Web 中的网页应用程序
- 应用程序生命周期管理 (ALM)
- UiPath™ 第一方应用程序
- 基本故障排除指南
Using certain control types for building accessible apps
-
Add titles to the pages in your app. In addition, give your whole app a name, so that the app can be reliably interpreted by user agents such as assistive technologies. For example, screen readers leverage the page title as a descriptor, and the browser uses the app title in the browser tab. You can add accessible titles using the Page Name and App Name properties in the Designer panel.
-
Use the Accessible label, which is a VB property of the Button and Custom HTML controls in Apps. You can find this label in the Accessibility area, in the General tab of the Properties panel. The screen reader uses the Accessible label as a descriptor.
-
The Accessible label is an expressionable property which you can bind to other properties in your app. To do this, reference
AccessibleLabel
in the expression editor of a control.
-
Do not use a separate Label control to name an existing input control. Instead, use the Label and Hint text properties available to the input control. These act as accessible names in your app.
-
If the input control has no text properties attached to it, use the Tooltip field, which the control uses as the accessible name.
-
To enable accessible click events for a control, and make it accessible via keyboard navigation, use the Button control instead of Label or Header.
-
Use the dedicated List control for lists of items instead of the Container or Label controls.
-
Use the dedicated Header control for headings instead of the Label control. The Header control markup contains accessible attributes.
-
预设样式和 Aria-Levels 的默认预定义映射如下所示:
headline1 : Level 1
headline2 : Level 2
headline3 : Level 3
LargeText : Level 4
NormalText : Level 5
SmallText : Level 6
headline1 : Level 1
headline2 : Level 2
headline3 : Level 3
LargeText : Level 4
NormalText : Level 5
SmallText : Level 6
-
If you manually update or customize any of the styles from the Properties panel, the aria-level is set based on the font size as follows:
>= 32px = Level 1
>= 24px = Level 2
>= 18px = Level 3
>= 16px = Level 4
>= 14px = Level 5
< 14px = Level 6
>= 32px = Level 1
>= 24px = Level 2
>= 18px = Level 3
>= 16px = Level 4
>= 14px = Level 5
< 14px = Level 6
-
For Icon and Image controls, the Tooltip property acts as the accessible name.
When the Container Layout control is used, the focus order for any containers inside of it depends on the container position in the Project Explorer panel. The default pre-defined order is always considered the correct one.
If you add any new containers, or change the position of a container within the container hierarchy, the focus order changes. In this scenario, you should rearrange the position of the containers according to the order of focus intended for your app.
You can also use the Custom HTML control to achieve custom functionalities in your app. The Custom HTML control supports the Accessible label. Using this label ensures accessibility support in your custom control.
Use Custom HTML for the following functionalities:
-
Hyperlinks.
-
Event handlers.
-
进度条。
-
包含自定义数据的表格。
-
五星级的评分系统。