Class Accessibility

java.lang.Object
com.google.gwt.user.client.ui.Accessibility

@Deprecated public final class Accessibility extends Object
Deprecated.
Use the new GWT ARIA library with the factory class for the ARIA roles Roles. There are getters for all ARIA roles. For each role there are get/set/remove methods defined for all (own and inherited) supported states and properties.

Allows ARIA attributes to be added to widgets so that they can be identified by assistive technologies.

A 'role' describes the role a widget plays in a page: i.e. a checkbox widget is assigned a "checkbox" role.

A 'state' describes the current state of the widget. For example, a checkbox widget has the state "checked", which is given a value of "true" or "false" depending on whether it is currently checked or unchecked.

See the MDC page on Accessible DHTML for more information.

Note that although this API is public, the ARIA specification is still somewhat in flux. As a result, this API is subject to change as the specification stabilizes; we will do our best to keep the community updated on changes.