Technique FLASH3:Marking objects in Flash so that they can be ignored by AT
About this Technique
This technique is not referenced from any Understanding document.
This technique applies to content implemented in Adobe Flash.
Description
The purpose of this technique is to show how images can be marked so that they can be ignored by Assistive Technology.
The Flash Player supports the ability for authors to control which graphics appear to assistive technologies using the silent
property of the accessibility object, as indicated in the examples below.
Examples
Example 1: Hiding a graphic in the Flash Professional authoring tool
The Flash Professional authoring tool's Accessibility panel lets authors provide accessibility information to assistive technology and set accessibility options for individual Flash objects or entire Flash applications.
- To apply changes to accessibility properties for a graphic, it must be saved as a symbol in the movie's library. Note: Flash does not support text alternatives for graphic symbols. Instead, the graphic must be converted to or stored in a movie clip or button symbol.
- Bring up the Accessibility panel by selecting "Window > Other Panels > Accessibility" in the application menu, or through the shortcut ALT + F11.
- Select the graphic object
- If the 'Make object accessible' checkbox in the Accessibility control panel is checked, uncheck this option to remove the graphic from the accessiblity information conveyed to assistive technologies.
Example 2: Applying textual alternatives programmatically in ActionScript 2.0
To manage an object's text equivalents programmatically using ActionScript, the _accProps
property must be used. This references an object containing accessibility related properties set for the object. The code example below shows a simple example of how the _accProps
property is used to remove an object from the accessibility information for the movie using ActionScript.
// 'decorative_mc' is an instance placed on the movie's main timeline _root.decorative_mc._accProps = new Object(); _root.decorative_mc._accProps.silent = true;
Related Resources
No endorsement implied.
Tests
Procedure
- Publish the SWF file
- Open the SWF file in Internet Explorer 6 or higher (using Flash Player 6 or higher), or Firefox 3 or higher (using Flash Player 9 or higher)
- Use a tool which is capable of showing an object's accessibility information, such as ACTF aDesigner 1.0 to open the Flash movie.
- In the GUI summary panel, loop over each object which is contained by the Flash movie and ensure the object that was designed to be hidden does not appear in the tool's display.
- Authors may also test with a screen reader, by reading the Flash content and listening to hear that object is not mentioned when the page is read.
- Non-text objects that are coded to be hidden from assistive technologies are not available to assistive technology.
Expected Results
Check #6 is true.