跳转到相应内容

最常访问

最近访问

navigation

Accessibility

Accessibility is an important part of any app. Whether you're developing a new app or improving an existing one, ensure that components are accessible.

Note: Although it's beneficial to add accessibility features in your app, you should use them only for the purpose of helping users with disabilities interact with your app.

Accessibility Overview

By integrating accessible components and services, you can improve your app's usability, particularly for users with disabilities.

The Impact

By integrating accessibility features in your app, you make it more inclusive:

  • Increase your app's reach.

    According to The World Bank, 15% of the world's population has some type of disability. People with disabilities depend on accessible apps and services to communicate, learn, and work. By making your app accessible, you can reach more users.

  • Improve your app's versatility.

    Accessibility can make it easier for all users, not only those with disabilities, to interact with your app. For example, if someone is using your app while cooking, they can use voice commands instead of touch gestures to navigate.

Development Resources

To make your app accessible, follow these key principles of inclusive design, development, and testing:

  • Design your app to support accessibility needs.

    By following material design best practices, you allow all of your users, including users with disabilities, to navigate and interact with your app more easily.

  • Develop your app using accessibility best practices.

    As you create your app, follow basic accessibility principles that make a big difference to your users, including content labeling, touch target size, color contrast, and view attributes.

  • Test with accessibility in mind.

    Integrate accessibility with your app's testing cycle by incorporating both manual and automated accessibility testing. To make this process easier, learn about the different accessibility services that Android offers, such as TalkBack and Switch Access.

    By familiarizing yourself with these services and testing your app using them, you can better understand the experience of users with accessibility needs.

If you want to create a new interaction model to help people with a specific type of disability, or if your app's content has a particular accessibility requirement, you can create your own accessibility service. To learn more, see the Building Accessibility Services guide.

Additional sample code

To download a sample accessible app, see Android BasicAccessibility Sample.

 

All documentation

此网站会使用 Cookie 来存储您在此网站上指定的语言和显示选项偏好设置。

获取最新的 Android Developers 资讯和提示,助您在 Google Play 上取得成功。

* 必填字段

成功!

在微信上关注 Google Developers

要以浏览此网站吗?

您请求访问的是网页,但是您为此网站设置的语言偏好为

要更改您的语言偏好设置并以浏览此网站吗?如果以后您想要更改语言偏好设置,请使用每个页面底部的语言菜单。

该类需要 或更高的 API 级别

此文档已被隐藏,因为您为该文档选择的 API 级别是 。您可以使用左侧导航栏上方的选择器来更改文档的 API 级别。

要详细了解如何根据您的应用需求指定 API 级别,请参阅支持不同平台版本

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)