The AccessibilityImplementation class is the base class in Flash Player that allows for the implementation of accessibility in components. This class enables communication between a component and a screen reader. Screen readers are used to translate screen content into synthesized speech or braille for visually impaired users.
The AccessibilityImplementation class provides a set of methods that allow a component developer to make information about system roles, object based events, and states available to assistive technology.
Adobe Flash Player uses Microsoft Active Accessibility (MSAA), which provides a descriptive and standardized way for applications and screen readers to communicate. For more information on how the Flash Player works with MSAA, see the accessibility chapter in Using Flex SDK.
The methods of the AccessibilityImplementation class are a subset of the IAccessible interface for a component instance.
The way that an AccessibilityImplementation implements the IAccessible interface, and the events that it sends, depend on the kind of component being implemented.
Do not directly instantiate AccessibilityImplementation by calling its constructor. Instead, create new accessibility implementations by extending the AccImpl class for each new component. In Flash, see the fl.accessibility package. In Flex, see the mx.accessibility package and the accessibility chapter in Using Flex SDK.
Note: The AccessibilityImplementation class is not supported in AIR runtime versions before AIR 2. The class is available for compilation in AIR versions before AIR 2, but is not supported in the runtime until AIR 2.
Indicates an error code.
Errors are indicated out-of-band, rather than in return values.
To indicate an error, set the errno property to one of the error codes
documented in the AccessibilityImplementation Constants appendix.
This causes your return value to be ignored.
The errno property of your AccessibilityImplementation is always cleared
(set to zero) by the player before any AccessibilityImplementation method is called.
Used to create a component accessibility stub.
If a component is released without an ActionScript accessibility implementation,
Adobe recommends that you add a component accessibility stub.
This stub causes Flash Player, for accessibility purposes, to treat the component
as a simple graphic rather than exposing the internal structure of buttons,
textfields, and so on, within the component.
To create a component accessibility stub, subclass the relevant AccImpl class,
overriding the property stub with a value of true.
mx.accessibility.AccImpl class in Flex (\sdks\4.0.0\frameworks\projects\framework\src\mx\accessibility\AccImpl.as) fl.accessibility.AccImpl class in Flash (\Local Settings\Application Data\Adobe\Flash CS5\en_US\Configuration\Classes\mx\accessibility\AccImpl.as)
public function AccessibilityImplementation()
Language Version :
Runtime Versions :
Flash Player 9, AIR 2.0
Do not directly instantiate AccessibilityImplementation by calling its constructor.
Instead, create new accessibility implementations by extending
the mx.accessibility.AccImpl class for each new component.
public function accDoDefaultAction(childID:uint):void
MSAA method for returning the system role for the component that
this AccessibilityImplementation represents or for one of its child elements.
System roles are predefined for all the components in MSAA.
childID:uint — An unsigned integer corresponding to one of the component's child
elements as defined by getChildIDArray().