WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Flash AS3 Keyboard Accessibility and JAWS?

for

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

From: Donald Evans
Date: Tue, Dec 21 2010 2:30PM
Subject: Flash AS3 Keyboard Accessibility and JAWS?
No previous message | Next message →

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 ADDRESS REMOVED =
Cell: (703) 608-8890
Does your website meet Section 508 Standards? http://www.deque.com

From: Donald Evans
Date: Wed, Dec 22 2010 7:54AM
Subject: Flash AS3 Keyboard Accessibility Question?
← Previous message | Next message →

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 ADDRESS REMOVED =
Cell: (703) 608-8890
Does your website meet Section 508 Standards? http://www.deque.com

--
Donald F. Evans
Deque Systems
Email: = EMAIL ADDRESS REMOVED =
Cell: (703) 608-8890
Does your website meet Section 508 Standards? http://www.deque.com

From: Andrew Kirkpatrick
Date: Wed, Dec 22 2010 8:03AM
Subject: Re: Flash AS3 Keyboard Accessibility Question?
← Previous message | Next message →

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 ADDRESS REMOVED = <mailto: = EMAIL ADDRESS REMOVED = >
http://twitter.com/awkawk
http://blogs.adobe.com/accessibility

From: Donald Evans [mailto: = EMAIL ADDRESS 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 ADDRESS REMOVED = <mailto: = EMAIL ADDRESS REMOVED = >
Cell: (703) 608-8890
Does your website meet Section 508 Standards? http://www.deque.com<;http://www.deque.com/>;

--
Donald F. Evans
Deque Systems
Email: = EMAIL ADDRESS REMOVED = <mailto: = EMAIL ADDRESS REMOVED = >
Cell: (703) 608-8890
Does your website meet Section 508 Standards? http://www.deque.com

From: Donald Evans
Date: Wed, Dec 22 2010 8:30AM
Subject: Re: Flash AS3 Keyboard Accessibility Question?
← Previous message | No next message

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 ADDRESS 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 ADDRESS REMOVED = < = EMAIL ADDRESS REMOVED = >
>
> http://twitter.com/awkawk
>
> http://blogs.adobe.com/accessibility
>
>
>
> *From:* Donald Evans [mailto: = EMAIL ADDRESS 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 ADDRESS REMOVED =
> Cell: (703) 608-8890
> Does your website meet Section 508 Standards? http://www.deque.com
>
> --
> Donald F. Evans
> Deque Systems
> Email: = EMAIL ADDRESS REMOVED =
> Cell: (703) 608-8890
> Does your website meet Section 508 Standards? http://www.deque.com
>



--
Donald F. Evans
Deque Systems
Email: = EMAIL ADDRESS REMOVED =
Cell: (703) 608-8890
Does your website meet Section 508 Standards? http://www.deque.com