WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: set focus to button

for

From: vivek
Date: Jun 8, 2006 11:20PM


I will try to test it with forms mode on in JAWS. My previous question has
been solved.



Thanks.



Veiky

_____

From: Andrew Kirkpatrick [mailto: <EMAIL REMOVED> ]
Sent: Thursday, June 08, 2006 9:42 PM
To: WebAIM Discussion List
Subject: RE: [WebAIM] set focus to button



setFocus isn't going to do what you want unless you are in forms mode with
JAWS or Browse-off in W-E.



If you make a substantial change occur when a user clicks on the next
button, the screen reader can go to the top of the page and allow the user
to start from there. The screen readers make the determination about what a
substantial change is.



What you're describing is a particular challenge and a difficult problem
solve. Unfortunately there's not a recipe to follow.



By last saw that your previous question about flash was answered on a
different mailing list -- did that work out for you?



AWK






_____


From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of vivek
Sent: Thursday, June 08, 2006 12:05 PM
To: <EMAIL REMOVED>
Subject: [WebAIM] set focus to button

HI,



I am creating a small quiz kind of a thing wherein there will be a question
on the stage along with four images (these are 4 movie clips).

User can click on any of the image and then click on next button in order to
go to the next question.

When user clicks on next button, another question with four images comes on
the stage.
When user clicks on the next button I want the focus to be on first image
(movieclip1).

I have these movie clips on the stage: mc0, mc1, mc2, mc3
And I am loading image on these movie clips with this code:
mcname.loadMovie("");

Now, how can I bring focus on the first movie clip on click of next button?



I have tried using selection.setfocus but id didn't work.



Any suggestion?



Thanks.



..........