E-mail List Archives
Re: Flash AS3 Keyboard Accessibility Question?
From: Donald Evans
Date: Dec 22, 2010 8:30AM
- Next message: Liv Detrick, IBP: "Tree View Menus"
- Previous message: Andrew Kirkpatrick: "Re: Flash AS3 Keyboard Accessibility Question?"
- Next message in Thread: None
- Previous message in Thread: Andrew Kirkpatrick: "Re: Flash AS3 Keyboard Accessibility Question?"
- View all messages in this Thread
I'm having trouble sending a screen shot as an attachement on WebAim. It's
bouncing back. But here is the code snippet.
The existing code:
if (xData.instructions!="") {
mcInstruct = new mc_instructions();
mcInstruct.textBox.text=xData.instructions;
addChild(mcInstruct);
mcInstruct.addEventListener(MouseEvent.MOUSE_UP, HideInstructions);
mcInstruct.buttonMode=true;
mcInstruct.mouseChildren=false;
My attempt to make it accessible:
mcInstruct.addEventListener(KeyboardEvent.KEY_DOWN, HideInstructions);
mcInstruct.altKey = Keyboard.ENTER ;
mcInstruct.focus = mcInstruct;
mcInstruct.tabIndex = 1 ;
var accessProps:AccessibilityProperties = new AccessibilityProperties();
accessProps.name= "Pop Quiz";
accessProps.description = "Select the Correct Answer(s) for each Question.
Press any key to Begin.";
mcInstruct.accessibilityProperties=accessProps;
if (Accessibility.active) {
Accessibility.updateProperties(); // updates the accessibility
}
Again, this works with Jaws turned off, but once Jaws is on, I have to use
control + z to pass thru the keys.
On Wed, Dec 22, 2010 at 9:59 AM, Andrew Kirkpatrick < <EMAIL REMOVED> >wrote:
> Don,
>
> You have entered the fuzzy/prickley area between forms mode and non-forms
> mode interaction, and it is difficult to provide advice without seeing what
> you’re making a little more. Can you provide a link or a screen shot?
>
>
>
> Thanks,
>
> AWK
>
>
>
> Andrew Kirkpatrick
>
> Group Product Manager, Accessibility
>
> Adobe Systems
>
>
>
> <EMAIL REMOVED> < <EMAIL REMOVED> >
>
> http://twitter.com/awkawk
>
> http://blogs.adobe.com/accessibility
>
>
>
> *From:* Donald Evans [mailto: <EMAIL REMOVED> ]
> *Sent:* Wednesday, December 22, 2010 9:54 AM
> *To:* WebAIM Discussion List
> *Cc:* Andrew Kirkpatrick
> *Subject:* Flash AS3 Keyboard Accessibility Question?
>
>
>
> I'm using Flash AS3. I have a number of mouse events I need to make
> accessible to the keyboard only and JAWS user.
>
> Mouse Event:
> mcInstruct.addEventListener(MouseEvent.MOUSE_UP, HideInstructions);
>
> I've added a similiar Keyboard Event Listener:
> mcInstruct.addEventListener(KeyboardEvent.KEY_DOWN, HideInstructions);
>
> This approach works well for the keyboard only user; however, once JAWS is
> started, many of the keys including "ENTER" and "SPACE" are not passed on to
> Flash. If I use Insert + Z with JAWS, I can pass thru the key strokes.
>
> Does anyone know a way I can have the JAWS experience and the keyboard only
> experience the same without using the Insert V command?
>
> I've also tried:
> private function KeyboardOnClick(ev:KeyboardEvent):void
> {
> if (ev.keyCode == Keyboard.SPACE)
> Object(parent).Select(this);
> if (ev.keyCode == Keyboard.ENTER)
> Object(parent).Select(this);
> }
> With the same results. It works fine until I load JAWS.
>
>
> --
> Donald F. Evans
> Deque Systems
> Email: <EMAIL REMOVED>
> Cell: (703) 608-8890
> Does your website meet Section 508 Standards? http://www.deque.com
>
> --
> Donald F. Evans
> Deque Systems
> Email: <EMAIL REMOVED>
> Cell: (703) 608-8890
> Does your website meet Section 508 Standards? http://www.deque.com
>
--
Donald F. Evans
Deque Systems
Email: <EMAIL REMOVED>
Cell: (703) 608-8890
Does your website meet Section 508 Standards? http://www.deque.com
- Next message: Liv Detrick, IBP: "Tree View Menus"
- Previous message: Andrew Kirkpatrick: "Re: Flash AS3 Keyboard Accessibility Question?"
- Next message in Thread: None
- Previous message in Thread: Andrew Kirkpatrick: "Re: Flash AS3 Keyboard Accessibility Question?"
- View all messages in this Thread