WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Best Practice for Hiding Flash

for

From: YOUNGV5
Date: Aug 9, 2011 2:03PM


Setting the silent property to true and adding a name seems to make
sense... However, the pie chart is just eye candy. All the information is
clearly identified in the table. Wondering if screen reader users prefer
in this case even the absence of the accessible name property being set.
The pie chart is grossly inaccessible so I do not want the slightest
chance of anyone entering or getting trapped. Anyway, I appreciate the
useful feedback.

Vincent Young
User Experience, Web Accessibility Specialist
Nationwide Corporate Marketing
Nationwide®
o | 614·677·5094
c | 614·607·3400
e | <EMAIL REMOVED>




From:
Jason Megginson < <EMAIL REMOVED> >
To:
WebAIM Discussion List < <EMAIL REMOVED> >
Date:
08/09/2011 03:41 PM
Subject:
Re: [WebAIM] Best Practice for Hiding Flash
Sent by:
<EMAIL REMOVED>



Setting the wmode to Transparent or Opaque is the best idea in theory, but
JAWS 12 automatically sets the wmode parameter to "window" so you may have
some functional issues with that approach. Avoid role=presentation to the
object or embed.

Setting tabEnabled=false will only keep keyboard from focusing to the
object with the Tab key. To truly hide content from the virtual reading
order you may set the object to "silent"
(object_name.accessibilityProperties.silent=true;). Note: the .forceSimple
property will work as well for an object and its children. If you set the
pie chart to silent, I recommend that an accessible name be set to the
movie as a whole; thus providing minimal textual alternative as the
presence of the Flash object will remain exposed on the page.

Sidebar: I know the Subject is in regards to "hiding" the flash but if you
have the ability to set the tabEnabled property via ActionScript, why not
just provide an accessible name that associates the pie chart with the
HTML data table?

In other words:

<table><caption>Table 2: Electric Boogaloo</caption>...</table>

<OBJECT>
//ActionScript in .FLA file
object_name.accessibilityProperties.name="Pie Chart for
Table 2:
Electric Boogaloo";
Accessibility.updateProperties();
//End ActionScript
</OBJECT>

I would suggest this approach since the accessible name (Flash) associates
itself to the adjacent [accessible] HTML data table and you don't have to
beat your head against the wall to determine compatibility among the
various user agents.

Jason Megginson
SSB BART Group
703-637-8964 (o)
703-244-7755 (c)