When updating accessibility properties of multiple objects at once, you need to include only a
single call to
Accessiblity.updateProperties
can cause some screen readers to become too verbose).
See
updateProperties (Accessibility.updateProperties method)
Reference.
Implementing screen reader detection with the
Accessibility.isActive() method
To create Flash content that behaves in a specific way if a screen reader is active, you can use
the ActionScript method
screen reader is present, and
perform so that it's compatible with screen reader use (for example, by hiding child elements
from the screen reader). For more information, see isActive (Accessibility.isActive method)
in ActionScript 2.0 Language Reference.
For example, you could use the
include unsolicited animation. Unsolicited animation happens without the screen reader
doing anything, which can be confusing for screen readers.
The
Accessibility.isActive()
the Flash content and Flash Player, which means that a slight real-time delay can occur
between the time the method is called and the time in which Flash Player becomes active,
returning an incorrect value of
do one of the following:
Instead of using the
plays, call the method whenever you need to make a decision about accessibility.
Introduce a short delay of one or two seconds at the beginning of your document to give
the Flash content enough time to contact Flash Player.
For example, you can attach this method with an
generally gives the SWF file enough time to load and you can safely assume a screen reader
user will tab to the first button or object on the Stage.
Accessibility.isActive()
otherwise. You can then design your Flash content to
false
Accessibility.isActive()
method provides asynchronous communication between
. To ensure that the method is called correctly, you can
false
Accessibility.isActive()
(too frequent updates to the screen reader
in the ActionScript 2.0 Language
, which returns a value of
method to decide whether to
method when the Flash content first
event to a button. This
onFocus
Creating accessibility with ActionScript
if a
true
531
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?
Questions and answers