Accessibility testing - Accessibility on Android — Transcript
Full transcript
- 0:01[Music]
- 0:08when building android apps it's
- 0:09important to integrate accessibility
- 0:11testing as part of your development
- 0:13process
- 0:14in this video we'll talk about what it
- 0:16means to test for accessibility in your
- 0:17app and summarize the different ways to
- 0:20approach testing
- 0:21here are some of the things you should
- 0:22look for when testing your app for
- 0:24accessibility
- 0:25do all buttons and images have a
- 0:27meaningful label
- 0:28do all text and images have sufficient
- 0:30color contrast in both light and dark
- 0:33mode
- 0:34do all interactable ui elements have an
- 0:36adequate touch target size
- 0:38and can a user complete all the user
- 0:40flows in the app using an accessibility
- 0:42service such as talkback
- 0:44let's briefly recap why it's important
- 0:46to test for each of these things in your
- 0:48app starting with meaningful labels
- 0:51when an accessibility service such as
- 0:53talkback is used to interact with your
- 0:55app each ui element is announced by the
- 0:57content description provided
- 1:00if an image button doesn't include a
- 1:01content description talkback will
- 1:03announce it as an unlabeled button
- 1:06however with the meaningful content
- 1:08description
- 1:09talkback will announce it as add task
- 1:12button double tap to activate this gives
- 1:14the user much better context about the
- 1:16purpose of the button
- 1:18to learn more about best practices
- 1:20around labeling elements check out the
- 1:22video labeling images for accessibility
- 1:25color contrast for text and images is
- 1:27another important aspect to consider
- 1:29when testing for accessibility when
- 1:31foreground and background colors of ui
- 1:33elements have insufficient contrast text
- 1:36can be hard to read and icons can be
- 1:38hard to see proper color contrast helps
- 1:41users with visual impairments more
- 1:43easily use your app and helps everybody
- 1:45in general use your app in bright
- 1:47settings such as outdoors in the sun
- 1:50to learn more the color contrast for
- 1:52accessibility video goes in depth about
- 1:55best practices for implementing and
- 1:56testing for sufficient color contrast
- 1:59proper color contrast helps users see
- 2:01what's on the screen but it's also
- 2:03important to ensure that users can
- 2:04easily interact with the elements on
- 2:06screen any on-screen element that
- 2:09someone can touch to perform an action
- 2:11on your app should be large enough for
- 2:13reliable interaction
- 2:15for users with mobility impairments such
- 2:17as hand trimmers small touch targets may
- 2:19be difficult to interact with even users
- 2:21with perfect touch may struggle to
- 2:23easily use controls if they are using
- 2:25one hand have large fingers have low
- 2:28vision or are exposed to shaking such as
- 2:30when they are walking or riding a bus
- 2:33so it's important to provide reliable
- 2:35interactions for all users by ensuring
- 2:37ui elements have a sufficient touch
- 2:39target size
- 2:40learn more about ensuring adequate touch
- 2:43targets in the video touch targets
- 2:45lastly it's important to remember that
- 2:47not everybody interacts with the device
- 2:49with gestures such as taps and swipes
- 2:52therefore it's important to test your
- 2:54app by navigating through it with an
- 2:55accessibility service such as talkback
- 2:57or switch access
- 2:59by interacting with your app using an
- 3:01accessibility service you can experience
- 3:03the app as your users would
- 3:05when exploring your app with an
- 3:06accessibility service you should pay a
- 3:08close attention to the following
- 3:10are you able to reach all the
- 3:11interactable elements on the screen
- 3:13are you able to complete all the user
- 3:15flows easily for example if there is a
- 3:18drag and drop action is an alternative
- 3:20provided
- 3:21learn more about the accessibility
- 3:23services talkback and switch access in
- 3:25the two videos talkback and switch
- 3:27access
- 3:28now that we've talked about some of the
- 3:30things to look for when testing
- 3:31accessibility in an app let's look at
- 3:33some tools that are available to help
- 3:35you with testing
- 3:36android studio contains built-in
- 3:38accessibility checks to help make your
- 3:40layouts more accessible
- 3:42when using the layout editor you can
- 3:44click on the issue report button to see
- 3:46accessibility related issues including
- 3:48suggestions on how to fix them
- 3:50to learn more about the checks in
- 3:52android studio check out the video
- 3:54what's new in accessibility for
- 3:55developers
- 3:56the accessibility scanner app is another
- 3:59tool that can help with your testing
- 4:00flow
- 4:01using scanner you can take screenshots
- 4:03or videos of your app and see specific
- 4:05suggestions on how to improve the
- 4:07accessibility of your app
- 4:09if you want an in-depth walkthrough of
- 4:10the scanner app including what issues it
- 4:12looks for and how to use it for testing
- 4:14your apps be sure to check out the
- 4:16accessibility scanner video
- 4:19another tool that can help you identify
- 4:21ways to improve the accessibility of
- 4:22your app is through google play's
- 4:24pre-launch reports
- 4:25pre-launch reports are available for all
- 4:28apps distributed on google play
- 4:30these reports are generated after you
- 4:32upload an app to the release channel
- 4:34using the google play console and
- 4:36contain snapshots of your app that
- 4:37represent ways to improve your app's
- 4:39accessibility
- 4:41for more information about pre-launch
- 4:42reports be sure to check out the
- 4:44documentation linked in the video
- 4:45description below
- 4:47besides these tools you can also
- 4:49incorporate automated testing as part of
- 4:51your development workflow
- 4:53if you have existing espresso tests you
- 4:55can enable and configure accessibility
- 4:57testing using the accessibility checks
- 4:59class
- 5:00with just a few lines of code you can
- 5:02enable accessibility checks on the
- 5:04entire view hierarchy of the screen
- 5:05that's part of your existing espresso
- 5:07test
- 5:08the video espresso and accessibility
- 5:10test framework gives an in-depth
- 5:12overview on how to set up accessibility
- 5:14checks as part of your espresso tests
- 5:16it's important to remember that the
- 5:18topics brought up in this video are not
- 5:20the only issues that can affect
- 5:21accessibility and automated testing
- 5:24tools can't detect all issues ultimately
- 5:26it's the users of your app that can best
- 5:28determine whether the app meets their
- 5:30needs and abilities
- 5:32thanks for watching and we hope this
- 5:33video gives a better perspective on how
- 5:35to incorporate accessibility testing
- 5:37into your development process
- 5:40[Music]
About this transcript
This page contains the full transcript of Accessibility testing - Accessibility on Android by Android Developers, generated from the public captions YouTube serves with the video. The transcript has 975 words across 174 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.