Click to See Complete Forum and Search --> : tab order on screens
appkel
11-17-2003, 06:25 PM
On my screen, there are some focusable elements which I don't want the tab key to go to. Therefore I need to setup a tabbing order on the screen to allow for quicker keyboard navigation. I use "tabIndex=1", "tabIndex=2", etc in all focusable elements on my screen to do so.
Question is how to form a loop? That is, how to go back to the first one after the last one?
Thanks.
It automatically loops if you keep pressing the Tab key.
[J]ona
appkel
11-17-2003, 06:34 PM
I am afraid not. After the last one, the tab key then goes to the focusable elements which I don’t want the key to go to.
Originally posted by appkel
I am afraid not. After the last one, the tab key then goes to the focusable elements which I don’t want the key to go to.
You cannot avoid that, as it is the way the browser is programmed.
[J]ona
appkel
11-17-2003, 06:40 PM
That is no good at all!!
Is there other ways to control tabbing order other than "tabIndex= "
Thanks again.
It is good because users may want to modify the way that their tabbing key goes, and if you could disable that you may be disabling user preferences.
No the only way I'm aware of doing what you're trying to do is by using tabindex, and there is no way to exclude elements that normally are indexed regardless of whether or not the attribute is set. (You might try a negative number? I doubt that would work, though.)
[J]ona