UIAccessibility

A set of methods that provides accessibility information about views and controls in an app's user interface.

Overview 概要

The UIAccessibility informal protocol provides accessibility information about an app’s user interface elements. Assistive apps, such as VoiceOver, convey this information to users with disabilities to help them use the app.

Standard UIKit controls and views implement the UIAccessibility methods and are accessible to assistive apps by default. This means that if your app uses only standard controls and views, such as UIButton, UISegmentedControl, and UITableView, you need only supply app-specific details when the default values are incomplete. You can do this by setting these values in Interface Builder or by setting the properties in this informal protocol.

The UIAccessibilityElement class, which represents custom user interface objects, also implements the UIAccessibility informal protocol. If you create a completely custom UIView subclass, you might need to create an instance of UIAccessibilityElement to represent it. In this case, you would support all the UIAccessibility properties to correctly set and return the accessibility element’s properties.

Topics 話題

Supporting Basic Accessibility

Defining Accessibility Text and Language

Configuring Behavior

Handling Notifications

Navigating Elements

Supporting Types

See Also 参照

Essentials

Related Documentation 関連文書