A browser with JavaScript enabled is required for this page to operate properly.
Trail: Graphical User Interfaces
Lesson: Swing Features
Accessibility
Home Page > Graphical User Interfaces > Swing Features

Accessibility

Assistive technologies exist to enable people with permanent or temporary disabilities to use the computer. This includes a wide variety of techniques and equipment — voice interfaces, magnifiers, screen readers, closed captioning, keyboard enhancements, and so on. In many countries, including the United States, Australia, Canada, and the European Union, there are laws requiring that programs function smoothly with assistive technologies. For more information, see Oracle's Accessibility Program.

A certain level of accessibility is built-in to all Swing components, but full accessibility can be achieved by following some simple rules. For example, assign tool tips, keyboard alternatives, and textual descriptions for images, wherever possible.

The PasswordStore demo follows the rules set out for accessibility. In the following figure, you can see an example of tool tip text.

The PasswordStore demo showing a tooltip.

PasswordStore With a Tooltip

For more information, see How to Support Assistive Technologies.


Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: Internationalization and Localization
Next page: Integrating with the Desktop