| Package | fl.accessibility |
| Class | public class ButtonAccImpl |
| Inheritance | ButtonAccImpl LabelButtonAccImpl AccImpl |
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
The ButtonAccImpl class supports system roles, object-based events, and states.
A Button reports the role ROLE_SYSTEM_PUSHBUTTON (0x2B) to a screen
reader.
A Button reports the following states to a screen reader:
STATE_SYSTEM_NORMAL (0x00000000)STATE_SYSTEM_UNAVAILABLE (0x00000001)STATE_SYSTEM_FOCUSED (0x00000004)STATE_SYSTEM_PRESSED (0x00000008)STATE_SYSTEM_FOCUSABLE (0x00100000)A Button dispatches the following events to a screen reader:
EVENT_OBJECT_STATECHANGE (0x800A)EVENT_OBJECT_NAMECHANGE (0x800C)The user of a screen reader can activate a button component by using the spacebar or the Enter key.
See also
| Method | Defined By | ||
|---|---|---|---|
|
[static]
Enables accessibility for a Button component.
| ButtonAccImpl | ||
| enableAccessibility | () | method |
public static function enableAccessibility():void
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
Enables accessibility for a Button component. This method is required for the compiler to activate the accessibility classes for a component.