Control Over Audio Playback
Music and audio that plays as the site loads presents a serious challenge to screen reader users. The audio from a Flash movie can interfere with the end users ability to hear the contents of a movie using a screen reader. As a result, it is important to make sure that control over when music is played is provided to the user.
The simplest strategy for handling audio playback is simply to allow the end user to control audio with a play and pause button. Allowing the end user to initiate audio provides the experience of the audio without creating additional hurdle
A more advanced strategy for controlling playback relies on the use of keyboard shortcuts for audio playback. Providing global keystrokes that allow the user to control the audio can greatly enhance the experience for end users. Here are several controls to consider.
- Play / Pause
- Mute
- Volume
- Rewind or Restart
Play and Pause is typically controlled using a single keystroke, such as the letter P, as a toggle. The first time the button is pressed, the audio starts to play. The second time the button is pressed, the audio is paused. A mute button, such as the letter m or the number 0, silences but does not stop the audio. This provides the screen reader user the opportunity to listen to the screen reader temporarily without stopping the audio. Finally, volume controls allow the user to quietly play the audio in the background while still listening to the screen reader. This is most appropriate in cases where the audio does not require the focused attention of the user, as in the case of a music stream.
There is an example and tutorial of this on the Controls page. Check it out!!