E-mail List Archives
Thread: set focus to button
Number of posts in this thread: 2 (In chronological order)
From: vivek
Date: Thu, Jun 08 2006 10:30AM
Subject: set focus to button
No previous message | Next message →
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.
From: vivek
Date: Thu, Jun 08 2006 11:20PM
Subject: RE: set focus to button
← Previous message | No next message
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 ADDRESS 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 ADDRESS REMOVED =
[mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of vivek
Sent: Thursday, June 08, 2006 12:05 PM
To: = EMAIL ADDRESS 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.
..........