"Uikit" -3-uiaccessibility-element accessibility, accessibility

Source: Internet
Author: User
Tags uikit

1 Official documents (element accessibility, accessibility, demo capabilities)

The uiaccessibility Informal protocol provides accessibility information ' s user application interface. Assistive applications, such as VoiceOver, convey this information to users and disabilities to help them use the Applica tion. Standard Uikit controls and views implement uiaccessibility methods and are therefore accessible to assistive Applicat Ions by default. This means so if your application uses only standard and views, controls as such, UIButton, and Uisegmentedcontrol Leview, you need only supply application-specific details when the default values are incomplete. You can does this by setting these values in Interface Builder or by setting the properties in this informal protocol. The uiaccessibility informal protocol is also implemented by the Uiaccessibilityelement class, which represents custom use R interface objects. If you create a completely custom UIView subclass, your might need to create a instance the Uiaccessibilityelement to Repre Sent it. In this case, your would support the Uiaccessibility properties to correctly set and return the accessibility element ' s Properties.

The uiaccessibility Informal protocol provides accessibility information about the user interface elements of an application. Ancillary applications, such as voiceover, convey this information to users with disabilities and help them use the application. Standard Uikit controls and views implement the Uiaccessibility method, so access to the secondary application defaults. This means that if your application uses only standard controls and views, such as UIButton, Uisegmentedcontrol, and UITableView, you only need to provide specific details of the application, the default value is incomplete. You can do this by setting the values in Interface Builder, or in the properties of this informal protocol setting. The uiaccessibility informal protocol is also represented by the Uiaccessibilityelement class, which represents a custom user interface object to implement. If you create a fully customizable UIView subclass, you might want to create an instance of Uiaccessibilityelement to represent it. In this case, you will support the correct setting of all uiaccessibility properties and return the properties of the secondary element.


1, uiaccessibility protocol for the external program to understand the situation of their own body. Accessibility is an interactive protocol based on query <-> response, Notification <-> listener model protocols. The external program obtains the app response through a query to understand the program. The user is also notified of the current status by listening for messages from the app.

2. Common protocols and elements include:

1) uiaccessibility, Protocol, core agreement.

2) Uiaccessibilityaction,protocol, add the behavior of the protocol.

3) Uiaccessibilityelement, class.

4) Uiaccessibilitycontainer,protocol, container agreement.

3, commonly used function uiaccessibilitypostnotification.

To be Continued




Reference documents

Http://www.tuicool.com/articles/Mb6n2m

http://www.apple.com/accessibility/ios/

https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/iPhoneAccessibility/ Accessibility_on_iphone/accessibility_on_iphone.html

Http://www.51testing.com/html/54/n-843354-3.html

http://blog.jobbole.com/63106/

Http://wenku.baidu.com/link?url=9NcuXYANjiXxYiYq51DPApelMpKLJ5yWTBsu6WkS_ Ixgos2rnfxccwdqibb-wjlpwt6zkoj9whfg3ppywsrbcoz9nqv5jca-riluntqzfqq


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.