RE: [Flashcoders] Accessibility: TextField Reading Twice

2006-10-10 Thread Michael A. Jordan
Try changing the line:
_textOne._accProps.forcesimple = true;
to:
 _textOne._accProps.forceSimple = true;

I'm pretty sure the .forceSimple accessibility property is case sensitive.

-- MJ


Michael A. Jordan
[EMAIL PROTECTED]


-Original Message-
From: Andrew Kirkpatrick [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 09, 2006 8:53 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Accessibility: TextField Reading Twice

Interesting.  What version of JAWS are you testing with?  What version
of the Flash player?  Can you post a link?  The FLA?

Thanks,
AWK 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of JerBrand
 Sent: Monday, October 09, 2006 12:09 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Accessibility: TextField Reading Twice
 
 Desperate for help, have been fighting this issue for a week:
 
 I've been playing with a set of components for non-technical users: 
 Basic idea is to provide some simple full page components 
 that are accessible without any real effort on the user 
 building the fla.
 
 So, they're finished and have been reviewed by a 
 accessibility place out of VA. Everything seems to be working 
 perfectly, spare one silly item: 
 When JAWS is reading the page content, The TextField in one 
 and only one component reads twice, every time. However, if 
 you tab from item to item in the flash movie, none of the 
 items read the text twice.
 
 I've viewed the movie in the debugger and confirmed that the 
 text is only set for that TextField and doesn't appear 
 anywhere else. I've traced out text for every MC on the page, 
 and I've set the TextField __accProps to be silent and added 
 the text to the _accProps.name of the containing MovieClip. 
 Still reads twice. If I strip out the accessibility code for 
 all items in the component, that bit of text is read.
 
 Anyone know of a way to figure out what's happening? 
 
 The accessibility code is very simple:
 
 _textOne._accProps = new Object();
 
 _textOne._accProps.name = removeHTML(__text1);
 
 _textOne._accProps.forcesimple = true;
 
 _textOne.tabIndex = _loc2.text1;
 
 
 _textOne is a MovieClip with a TextField inside of it at 0,0. 
 Really the only thing it adds is a setSize() method that 
 resizes the TextField if the layout changes, and a get/set 
 Text property. The rest is as simple as it sounds.
 
 Thanks for the help
 
 Jer Brand
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Accessibility: TextField Reading Twice

2006-10-09 Thread Andrew Kirkpatrick
Interesting.  What version of JAWS are you testing with?  What version
of the Flash player?  Can you post a link?  The FLA?

Thanks,
AWK 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of JerBrand
 Sent: Monday, October 09, 2006 12:09 PM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Accessibility: TextField Reading Twice
 
 Desperate for help, have been fighting this issue for a week:
 
 I've been playing with a set of components for non-technical users: 
 Basic idea is to provide some simple full page components 
 that are accessible without any real effort on the user 
 building the fla.
 
 So, they're finished and have been reviewed by a 
 accessibility place out of VA. Everything seems to be working 
 perfectly, spare one silly item: 
 When JAWS is reading the page content, The TextField in one 
 and only one component reads twice, every time. However, if 
 you tab from item to item in the flash movie, none of the 
 items read the text twice.
 
 I've viewed the movie in the debugger and confirmed that the 
 text is only set for that TextField and doesn't appear 
 anywhere else. I've traced out text for every MC on the page, 
 and I've set the TextField __accProps to be silent and added 
 the text to the _accProps.name of the containing MovieClip. 
 Still reads twice. If I strip out the accessibility code for 
 all items in the component, that bit of text is read.
 
 Anyone know of a way to figure out what's happening? 
 
 The accessibility code is very simple:
 
 _textOne._accProps = new Object();
 
 _textOne._accProps.name = removeHTML(__text1);
 
 _textOne._accProps.forcesimple = true;
 
 _textOne.tabIndex = _loc2.text1;
 
 
 _textOne is a MovieClip with a TextField inside of it at 0,0. 
 Really the only thing it adds is a setSize() method that 
 resizes the TextField if the layout changes, and a get/set 
 Text property. The rest is as simple as it sounds.
 
 Thanks for the help
 
 Jer Brand
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com