Version First Edition
Platform Android 11
Language Kotlin 1.4
Editor AS 4.1

Accessibility is an important, often overlooked, part of building a quality app. The Web Content Accessibility Guidelines (WCAG) can be confusing and it’s often unclear how to apply these guidelines to Android.

In this book, you’ll learn about building accessible apps on Android using WCAG through hands-on, step-by-step tutorials.

Before You Begin

This section tells you a few things you need to know before you get started, such as what you’ll need for hardware and software, where to find the project files for this book, and more.

i

Section I: Android Accessibility by Tutorials

Begin your journey into learning about building, testing and customizing accessible apps on Android using WCAG through hands-on, step-by-step tutorials.

Why should you design your apps with accessibility in mind? This chapter presents many reasons why accessibility is a priority in modern app design. From creating a better, more marketable product to treating others with care. It can even increase productivity.

1

Say Hello to Accessibility! Learn how to use lint to find accessibility warnings and some simple ways to solve some common accessibility issues in one or two lines of code. Introduces WCAG and other resources to understand accessibility requirements and universal design so all users of your app enjoy a cohesive experience.

2

To understand the accessibility improvements you're making, you need a way to verify your changes. That's why in this chapter you'll learn how you can test for accessibility improvements, as well as how to use accessibility services to experience the same thing your user might.

3

Understanding the basics about screen readers is key when working on accessibility. In this chapter you'll learn more about this tool, as well as how you can use content descriptions and layouts to make your app more perceivable.

4

Features including video, audio or animation often focus on a visual and auditory experience. This chapter explores how you can present the same information to users who can't enjoy the full visual or auditory experience you've designed.

5

In this chapter you’ll gain an understanding of what color contrast is and how you can use it in your app. By investigating types of vision impairments, contrast, and night mode, you’ll have a better understanding of how to make your app more perceivable.

6

Navigation is important to almost any app. In this chapter you’ll learn how you can allow your users to navigate your app using a variety of assistive technologies.

7

This chapter continues discussing operability by looking at movement and timing. The way you handle conveniences such as auto-advance and gestures can make a big impact on how easily people can use your app. Here, you’ll learn some tricks about how to approach these kinds of features.

8

Even if someone can perceive and operate your app, they may not understand it. This chapter will teach you how you can treat language, iconography, consistency and error handling in a way that improves your app’s understandability.

9

To make a robust app, it needs to know how to interact with the accessibility services on any device. While working with Android’s components, most of this work is done for you. In this chapter, you’ll learn how to interact with accessibility services when building custom views.

10

Part of making your app accessible includes building it with neurodiversity in mind. By making your app more configurable, contextual and aware of phrasing, you show your users that you care about them.

11

You recognize the importance of accessibility, but how do you get your team on board to dedicate time to it? In this chapter, you’ll learn how to increase education and buy-in on your team, as well as how to integrate accessibility into your processes.

12

Section II: Appendix

It’s not easy to remember everything there is to know about accessibility. That’s why this appendix gives you a checklist of items to look for when building your app. You can tailor these for use in PRs or audits.

A

Meet the team

Contributors

Who is this book for

This book is for intermediate Android developers who already know the basics of Android and Kotlin development and want to learn about accessibility.

Concepts covered in this book

  • Importance of accessibility
  • Oboarding your team to accessible apps
  • Testing
  • Web Content Accessibility Guidelines (WCAG)
  • Android accessibility
  • Custom views

Version history

First Edition · Android 11, Kotlin 1.4, AS 4.1

v1.0 · Jan 15 2021 · Victoria Gonda

First Edition - Early Access 1 · Android 11, Kotlin 1.4, AS 4.1

v1.0.ea1 · Dec 10 2020 · Victoria Gonda
Pro

Android Accessibility by Tutorials

By Victoria Gonda

Learn to build accessible apps on Android using WCAG through hands-on, step-by-step tutorials.

Read for Free with an Ultimate Pro Subscription* * Includes this and all other books in our online library See all benefits
Buy Individually $59.99* *Includes access to all of our online reading features.
See buying options
Hide buying options

All videos. All books.
One low price.

A raywenderlich.com subscription is the best way to learn and master mobile development — plans start at just $19.99/month!

Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.