Instance Property インスタンスプロパティ

isAccessibilityElement

A Boolean value that indicates whether the element is an accessibility element that an assistive app can access.

Declaration 宣言

var isAccessibilityElement: Bool { get set }

Discussion 解説

The default value for this property is false unless the element is a standard UIKit control, in which case, the value is true.

Assistive apps can get information only about objects that accessibility elements represent. Therefore, if you implement a custom control or view that you want to be accessible to users with disabilities, set this property to true. The only exception to this practice is a view that merely serves as a container for other items that you want to be accessible. Implement the UIAccessibilityContainer protocol and set this property to false.

See Also 参照

Supporting Basic Accessibility