从UE4引擎开始学英语(2)---Accessibility

本文详细介绍了控件的可访问性配置选项,包括重载默认行为、子项可访问性、不同可访问行为的选择(如自动、自定义等)、以及如何描述控件的概述行为。这些设置对于创建无障碍应用程序至关重要。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

(0)Accessibility     可访问性

(1)Override Accessible Defaults   重载可访问默认值

Override of the default accessibility behavior and text for this widget.

重载此控件的所有默认访问行为和文本。

(2)Can Children to Accessible  可访问子项

Whether or not children of this widget can appear as distinct accessible widgets.

此控件的子项是否能显示为不同的可访问控件

(3)Accessible Behavior   可访问行为

Whether or the widget is accessible,and how to describe it.if set to custom, additional customization options will appear.

是否可访问控件,及其描述方式。若设为自定义,额外自定义选项将出现。

<1>Not Accessible  不可访问

<2>Auto  自动

Accessible ,first checking to see if there's any custom default text assigned for widgets of this type. if not , then it will attempt to use the alternate behavior(ie AccessibleSummaryBehavior instead of AccessibleBehavior) and return that value instead.This acts as  a reference so that you  only need set one value for bote of  them to return the same thing.

可访问,首先检查确定是否有自定义默认文本指定到此类型的控件。如无,则将其尝试使用替代行为(如用AccessibleSummaryBehavior 替代AccessibleBehavior)并返回该值。这用作一个引用,因此用户只需要为二者设置一个值,便能返回相同内容

<3>Summary  概述

Accessible, and traverse all child widgets and concat their AccessibleSummaryText together.

可访问,遍历所有子控件并将其AccessibleSummaryText合并在一起

<4>Custom  自定义

Accessible,and retrieve manually-assigned text from a TAttribute.

可访问,并从一个TAttribute获取手动指定的文本

<5>Tool Tip  工具提示

Accessible, and use the tooltip's accessible text.

可访问,并使用工具提示的可访问文本。

(4)Accessible Summary Behavior  可访问概览行为

How to describe this widget when it's being presented through a summary of a parent widget. If set to custom, additional customization options will appear.

通过父控件概览显示控件时,此控件的描述方式。若设为自定义,额外自定义选项将出现。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值