Provide an option to enable the user to adjust the volume.
Rationale
Users may not be able to hear or distinguish sounds at certain volumes, so they need the ability to adjust the volume. A user that is hard of hearing can have difficulty hearing auditory output and needs to adjust the volume so they can hear the warnings and messages. A user with a vision impairment may depend on speech output and will need to adjust the volume to accommodate different environmental conditions.
Development techniques
The following techniques are the minimum required to meet Checkpoint 3.3 from the IBM Java Accessibility Checklist:
- Respect the system volume settings. On Windows, the volume is controlled by selecting Start - Programs - Accessories - Entertainment - Volume Control. Or respond to system volume settings in your application, use JNI and a dynamic link library (dll) or system object (so) to access system volume settings. Applications on the Windows platform that play sounds by calling PlaySound and specifying a registry-based sound event may not require additional work.
- Provide volume control in the software. This may require using the Java Media Frameworks standard extension.
Testing techniques
| Action | Result | |
|---|---|---|
| 1 | If the software respects system settings for volume, increase the volume through the Control Panel. Verify warnings and messages can be heard. |
Pass: When the volume is increased through the operating system, sounds in the software are louder. Fail: When the volume is increased through the operating system, sounds in the software are not louder. If the volume is not adjusted through system settings, perform the next test. |
| 2 | If the software provides an option to adjust the volume, increase the volume. Verify warnings and messages can be heard. |
Pass: When the volume is increased through the software, sounds in the software are louder. Fail: When the volume is increased through the software, sounds in the software are not louder. |
©2001, 2008 IBM Corporation
Last updated February 15, 2008.
