M I L K
Mobile Inclusive Learning Kit

Text To Speech


Introduction

The activity, Speech-based accessibility, introduced the concept of providing automatic voice based descriptions of user interface (UI) elements when touched by a user. Whilst this feature provides blind and limited vision users with a description of the UI, it does not provide feedback on the users interaction with the UI elements.

This activity incorporates speech to text functionality to provide the user with speech based feedback when the user interacts with the UI elements. The activity involves providing the user with the current date and time when the user clicks a button (refer below image) . In this activity, the developer will create an event handler for a button, and, within this event handler, call Android's SpeechToText API to announce/speak the date and time.

Clicking a button, displays text below. The generation of the text will not be apparent to a blind user and hence, would need to be announced/spoken.

Activity

Download the activity here.

The non-accessible version of this app is located here.

The accessible version of this app is located here.

More Resources