Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flash accessibility

Status
Not open for further replies.

StephanieCC

Technical User
Aug 28, 2001
48
US
Having solved the my recent menu problem which I think ws caused by a short script--I now have a question about accessibility--can the menu use alt text for screen readers and/or be tabbed through--currently tab gets stuck on the first button--
 
Good site Bill--though I didn't get the solution yet--I add a hidden skip navigation link for screen readers--now all I would like is tab to go through the buttons in IE--tab works in Netscape--is this a known problem with Flash in IE or is there a solution?
 
This is an old piece of code for tabbing.
Modify to suit.

buttons with instance names "name", "email", "address", "zip", "country"
on a timeline.

//in the next frame (cant remember why next frame?) of the timeline that the
buttons appear.//

stop();
a = ["name", "email", "address", "zip", "country"]
Selection.setFocus(a[0]);


//on a blank button on the same timeline

on (keyPress &quot;<Tab>&quot;) {
//for the case where the user clicks on any button.
if(Selection.getFocus()!=this+&quot;.&quot;+a){
for(i=0; i<a.length; i++){
if(this+&quot;.&quot;+a==Selection.getFocus())break;
}
}
//TAB:forward. SHIFT+TAB:backward.
Selection.setFocus(a[i=(i+!Key.isDown(Key.SHIFT)*2-1+a.length)%a.length]);
}
 
forgot to mention
I use this in IE without any problems. Works for buttons movie clips and textfields or any combination of them.
set the tab order in the array a
tab goes forward shift tab backward.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top