All about Android Accessibility Scanner!

1.0 Get started with Accessibility Scanner

When you design and develop an Android app, Accessibility Scanner can help you identify opportunities to improve your app for users.

Accessibility Scanner scans your screen and provides suggestions to improve the accessibility of your app, based on the following:

  • Content labels
  • Touch target size
  • Clickable items
  • Text and image contrast

Note: Accessibility Scanner isn’t a replacement for manual testing, and doesn’t guarantee an app’s accessibility.

Currently, Accessibility Scanner is available only in English.

2.0 Install and turn on Accessibility Scanner

Accessibility Scanner is available for phones and tablets with Android 6.0 and above. See what version of Android you have.

To start, download Accessibility Scanner from Google Play.

After you install Accessibility Scanner, you’re prompted to turn it on in your device settings:

  1. Go to Settings > Accessibility and find Accessibility Scanner.
  2. Tap the Accessibility Scanner switch to move it to the on position.

You can turn off the Accessibility Scanner any time by returning to Settings > Accessibility > Accessibility Scanner.

3.0 Scan your app

To scan your app, follow these steps:

  1. Open your app.
  2. Tap the Accessibility Scanner button .
  3. You’ll see a screenshot of the app with notes about possible improvements. To get a full list of results, tap the List .

Note: If you’re using TalkBack, explore by touch to reach the Accessibility Scanner button.

4.0 Share results

You can share complete results or an individual item with other people, such as teammates. To share results, follow these steps:

  1. After scanning your app, tap Share .
  2. Choose how you want to share the zip file with the results and screenshots.

Note: To share results for an individual item, tap Share while viewing the item.

5.0 View past results

After scanning a screen, Accessibility Scanner shows a list of past scanning results. The list contains the name and icon of the app that you scanned, along with the time and date of the scan. Tap any scan to see details.

6.0 Help and feedback

To find help documentation or send feedback about Accessibility Scanner, select Help and feedback in the app.

7.0 Accessibility Scanner opportunities

Accessibility Scanner looks for the following opportunities to improve your app’s accessibility.

7.1 Content Labeling

Many user interface controls depend on visual cues to indicate their meaning and use. A user with impaired vision might have difficulty seeing these cues.

You can make user interface controls more accessible with content labels. Content labels don’t appear on the screen, but users with visual impairments can access them through accessibility services like TalkBack or other screen readers.

Accessibility Scanner looks for the following content labeling opportunities:

  • Item label missing
    Identify Views that a screen reader could focus and that have an empty spoken description, either for the View or relevant Views in its sub-hierarchy.
  • Item labeled with type or state
    Identify cases where a View has a redundant description. Learn more about items labeled with type or state.
  • Duplicate item descriptions
    Identify cases where a hierarchy contains Views with exactly duplicate descriptions. For example, two separately focusable buttons with descriptions of “More options” could confuse a user.

7.2 Implementation

Accessibility Scanner examines View hierarchies and identifies instances where users with motor impairments might have difficulty interacting with a layout.

  • Clickable links
    Identify uses of ClickableSpan that aren’t UrlSpans on platform versions prior to N. Learn more about clickable links.
  • Duplicate clickable Views
    Identify clickable Views that share the same on-screen location as other clickable Views. Learn more about duplicate clickable Views.
  • Editable item label
    Identify EditTexts and editable TextViews that have a non-empty contentDescription. Learn more about editable View labels.

7.3 Touch Target Size

Accessibility Scanner looks for small touch targets that could cause difficulty for users with motor impairments.

  • Touch target size
    Identify clickable and long-clickable Views that are smaller than 48x48dp in either dimension, or 32x32dp for Views within input method windows or those which are against the display edge.

7.4 Low Contrast

Accessibility Scanner suggests improvements to color contrast ratios to make your app more accessible to visually impaired users.

  • Text and image contrast
    Identify text or images with a contrast ratio lower than 3.0 between the text color and background color (for non-empty TextViews) or between the foreground and background color (for ImageViews).

8.0 More accessibility best practices

Read more in the Android Developer Accessibility documentation.