Skip to main content

Describe icons and graphics

Java™ checkpoint 2.3

Set the name on all components and include a description on icons and graphics. If an image is used to identify programmatic elements, the meaning of the image must be consistent throughout the application.

 

Rationale

Persons who are blind or who have low vision are unable to understand what a graphic represents. People with learning disabilities may have difficulty comprehending the meaning of a graphic.

The intent of the checkpoint is to describe the purpose or role of visual components in an application. In many cases, the role of a component is a sufficient description for standard components. However, graphics and icons need to implement AccessibleDescription to give the user sufficient information to understand the purpose of the graphic or icon. Generally speaking, a description is needed anywhere that you would want a tooltip.

Development techniques

The following techniques are the minimum required to meet Checkpoint 2.3 from the IBM Java Accessibility Checklist:

The techniques above are required; the following techniques are recommended to enhance accessibility:


Testing techniques

Test the software to ensure that it complies with accessibility requirements.

Tools

You will need to install one of the following tools to test this checkpoint:

Windows techniques

The following techniques are required to verify this checkpoint:
  Action Result
1 Test with the screen reader to verify controls and objects are read.

Pass:

The screen reader reads the name of the object. For example, the text on a button or text associated with a image. button.

Fail:

2 Not required if Step 1 test passed. Test with JavaFerret to display the AccessibleName and AccessibleDescription for each object. This test is not required if the screen reader read the information correctly in the first test.

Pass:

JavaFerret displays valid values for the Name and Description properties.
phone
Scout output for accessible image button.

Fail:

JavaFerret displays "null" for the Name and / or Description properties.
fish
Scout output for inaccessible image button.


©2001, 2008 IBM Corporation

Last updated February 15, 2008.