介绍
Using iOS 3.0 and later, VoiceOver is available to help users with visual impairments use their iOS-based devices. The UI Accessibility programming interface, introduced in iOS 3.0, helps developers make their applications accessible to VoiceOver users. Briefly, VoiceOver describes an application’s user interface and helps users navigate through the application’s views and controls, using speech and sound. Users familiar with VoiceOver in Mac OS X can leverage their experience to help them quickly come up to speed using VoiceOver on their devices.
iOS3.0及之后的版本,视觉障碍用户可通过VoiceOver使用iOS设备。iOS 3.0引入UI无障碍编程接口,可帮助开发人员构建能够让VoiceOver用户访问的应用。简单地说,VoiceOver描述一个应用的用户界面,用户通过语音朗读以及声音,导航浏览该应用中的视图及控件。熟练使用Mac OS X的VoiceOver用户,能够快速上手,使用其移动设备上的VoiceOver。
iPhone applications that run in iOS 3.0 and later should be accessible to VoiceOver users. iOS and the iOS SDK support this goal by:
运行在iOS3.0及之后版本的iPhone应用,应该为VoiceOver用户构建无障碍环境。iOS和iOS SDK通过以下方式支持此目标:
-
Making standard UIKit controls and views accessible by default
默认情况下,标准UIKit控件和视图是可访问的;
-
Supplying the UI Accessibility programming interface, which defines a streamlined process for making an iPhone application accessible
提供UI无障碍编程接口,此接口为iPhone应用程序构建可访问性定义了线形的流程;
-
Providing tools that help you implement accessibility in your code and test the accessibility of your application
提供相关工具,帮助开发者在代码中实现无障碍、在应用中测试无障碍。
If you’re developing or updating an iPhone application, you should read this document to learn how to make your application accessible to VoiceOver users.
如果您正在开发或更新一个iPhone应用程序,您应该阅读此文档来学习如何开发VoiceOver用户可访问的应用。
文档结构
This document contains the following chapters:
该文档包含如下章节:
-
Understanding Accessibility on iOS briefly describes how VoiceOver works on the device and introduces the programming interface and tools you can use to make your application accessible.
-
Making Your iOS App Accessible provides in-depth guidance for making your application accessible to VoiceOver users.
理解iOS上的无障碍特性简要描述VoiceOver如何在设备上运行,同时介绍了可用于构建无障碍应用的编程接口及工具。
构建您iOS应用程序的无障碍特性为构建VoiceOver用户可访问的应用程序提供深入指导。
辅助参考
This document used to contain information related to testing your app’s accessibility experience with VoiceOver and Accessibility Inspector. That content has moved to a dedicated document titled Verifying App Accessibility on iOS.
本文档之前包含的内容:通过VoiceOver和Accessibility Inspector对您的应用进行无障碍体验 - 已经被转移到文档在iOS中验证应用的无障碍特性中。