English subtitles

← Coding Task on Accessibility - Developing Android Apps

Get Embed Code
10 Languages

Showing Revision 13 created 05/25/2016 by Udacity Robot.

  1. Thanks for your answer.
  2. If you tried TalkBack
    on the Sunshine app,
  3. you'll notice that one easy fix
    to make our app more accessible,
  4. is to add content descriptions
    to our image views.
  5. Because there's no spoken text
    when a user taps on it.
  6. In the forecast adapter,
  7. after we read the
    weather forecast from the cursor
  8. we also set it as a content
    description on the icon.
  9. Similarly, in the detail fragment,
    once we get the weather forecast,
  10. we set that as the content
    description on the icon.
  11. Now clicking on the image,
    speaks the weather description out loud.