WebAIM - Web Accessibility In Mind

E-mail List Archives

Flash AS3 Keyboard Accessibility and JAWS?

for

From: Donald Evans
Date: Dec 21, 2010 2:30PM


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