WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Flash, absolute positioning and font resizing

for

Number of posts in this thread: 3 (In chronological order)

From: Stephane Deschamps
Date: Wed, Feb 08 2006 8:15AM
Subject: Flash, absolute positioning and font resizing
No previous message | Next message →

Hi all,

and thanks for the great daily input :)

There's a Flash animation that cycles endlessly in a sidebar. The trouble
with JAWS is that once it gets inside the animation it gets trapped
inside, with no way to get out easily, it seems.

The solution I've found is to put the Flash call at the end of the source
code in a div, and then use a little JS to put it back into its right
place via absolute positioning.

Thus screen readers won't see it until the end of the page, and hopefully
they'll have found what they needed before the end of the page. I know
it's not 100% bulletproof but considering we can't modify the Flash
animations, it's the safest thing I've found.

You can have a look at the solution in action here:
<http://www.espaceclient.francetelecom.com/>;

I know, I know, what about people with no JS? Well, it's the lesser evil.
I rather have people *not* see the animation *if* they don't have JS
enabled (less probable) than block screen readers. It's an ad and as such
is dispensable, in the worst case scenario.

Yet when someone resizes their fonts in the browser, the div being
absolutely positioned, doesn't follow te flow of the document.

I thought I'd try to reposition this div if need be, but felt that a
setInterval() method would be computer-intensive. Of course the onresize
event is not triggered on font resizing.

What do you think would be the safer method to still exclude the Flash
animation from the flow and still position it where it should be?

Maye I'm just mistaken and setInterval() would do the trick efficiently.


--
Stephane Deschamps
personal: http://nota-bene.org/
org: http://evolt.org/
french org: http://pompage.net/





From: Michael_Jordan
Date: Wed, Feb 08 2006 8:30AM
Subject: Re: Flash, absolute positioning and font resizing
← Previous message | Next message →

With accessible Flash, you shouldn't update a button's Accessibility
property name as your animation loops. That will cause the screen-reader
to keep updating the page, which is very frustrating to the user. It's
better to label the container for the looping animation with a single
Accessibility property name, and hide the child objects of the animation
using _accProps.forceSimple = true or by unchecking "Make Child Objects
Accessible" in the Accessibility Properties panel.

Cheers!

Michael A. Jordan
Houghton Mifflin Company
School Division/Instructional Technology




"Stephane Deschamps" < = EMAIL ADDRESS REMOVED = >
Sent by: = EMAIL ADDRESS REMOVED =
02/08/2006 09:59 AM
Please respond to
WebAIM Discussion List < = EMAIL ADDRESS REMOVED = >


To
"WebAIM Discussion List" < = EMAIL ADDRESS REMOVED = >
cc

Subject
Re: [WebAIM] Flash, absolute positioning and font resizing






<quote who="ben morrison">
> On 2/8/06, Stephane Deschamps < = EMAIL ADDRESS REMOVED = > wrote:
>> Hi all,
>>
>> and thanks for the great daily input :)
>>
>> There's a Flash animation that cycles endlessly in a sidebar. The
>> trouble
>> with JAWS is that once it gets inside the animation it gets trapped
>> inside, with no way to get out easily, it seems.
>
> There is some info on the webaim site which should be usefull:
>
> http://www.webaim.org/techniques/flash/4

... so much easier indeed :)

Thanks a lot!

--
Stephane Deschamps
personal: http://nota-bene.org/
org: http://evolt.org/
french org: http://pompage.net/








From: ben morrison
Date: Wed, Feb 08 2006 8:45AM
Subject: Re: Flash, absolute positioning and font resizing
← Previous message | No next message

On 2/8/06, Stephane Deschamps < = EMAIL ADDRESS REMOVED = > wrote:
> Hi all,
>
> and thanks for the great daily input :)
>
> There's a Flash animation that cycles endlessly in a sidebar. The trouble
> with JAWS is that once it gets inside the animation it gets trapped
> inside, with no way to get out easily, it seems.

There is some info on the webaim site which should be usefull:

http://www.webaim.org/techniques/flash/4

ben