![]() |
|
|
|||||||
![]() |
HTML - Using TABINDEX to remove from tab order? |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
I'm wanting to completely remove some textareas and A-links from the
tab order of a form, so as you're tabbing down a list of checkboxes, the cursor doesn't skip over to another element in between. Is there a way to do that? I tried TABINDEX=0 but that did nothing. And I can't TABINDEX=1 through whatever on the checkboxes then go through the other elements, because the page is actually dynamically created with PHP. I need something I can put into the TEXTAREA and A HREF tags that will be the same for each one to prevent it from being in the tab order. Any sugggestions? Thanks!! Liam LRW |
|
|
|
|
#2 |
|
Posts: n/a
|
(LRW) wrote:
> I'm wanting to completely remove some textareas and A-links from the > tab order of a form, so as you're tabbing down a list of checkboxes, > the cursor doesn't skip over to another element in between. Why would you do that? You would then prevent anyone using keyboard-only access from getting to the textareas and links at all. > Is there a way to do that? To tell a white lie, no. > I tried TABINDEX=0 but that did nothing. Where did you put it, and why didn't you post a URL so that we could see what you actually did? The effect depends on the page and its TABINDEX values as a whole. > And I can't TABINDEX=1 through whatever on the checkboxes then go > through the other elements, because the page is actually dynamically > created with PHP. The specifications tell how TABINDEX is supposed to work. Why do you try using it in an apparently random way? > I need something I can put into the TEXTAREA and A > HREF tags that will be the same for each one to prevent it from being > in the tab order. No, you don't. Please explain the original problem that made you think so, and post the URL. -- Yucca, http://www.cs.tut.fi/~jkorpela/ Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html |
|
|
|
#3 |
|
Posts: n/a
|
"Jukka K. Korpela" <> wrote in message news:<Xns94D8D60764C49jkorpelacstutfi@193.229.0.31 >...
> (LRW) wrote: > > > I'm wanting to completely remove some textareas and A-links from the > > tab order of a form, so as you're tabbing down a list of checkboxes, > > the cursor doesn't skip over to another element in between. > > Why would you do that? You would then prevent anyone using keyboard-only > access from getting to the textareas and links at all. > > > Is there a way to do that? > > To tell a white lie, no. > > > I tried TABINDEX=0 but that did nothing. > > Where did you put it, and why didn't you post a URL so that we could see > what you actually did? The effect depends on the page and its TABINDEX > values as a whole. Well, I can't post a URL because it's for an internal Web site at work, behind a firewall. It's a PHP page that generates a list of items from a database based on particular conditions, each item having a checkbox. The goal is the user is to select certain items they want to send on to place X. The other form elements being a textarea which most of the time is autimatically filled with text from the database, but sometimes not, and the user has the option to add something or change what's there. And an image of an item, hyperlinked to a pop-up window that shows a larger version of the image. So, the way the users prefer it to work, is to just be able to TAB through the list, SPACEBARing the items they want to select. In essence, to be able to just quickly TAB-TAB-SPACE-TAB-SPACE-TAB-SPACE-TAB-TAB-TAB-SPACE-etc through the list without having the cursor suddenly jump over to the textarea or the linked image. Make sense? I tried putting the TABINDEX=0 within the TEXTAREA and A HREF tags. I guess they'll just have to deal, and use their mice to scroll and select. =/ Thanks, Liam |
|
|
|
#4 |
|
Posts: n/a
|
(LRW) wrote:
> Well, I can't post a URL because it's for an internal Web site at > work, behind a firewall. As you wish. If you don't want to take the trouble of constructing a demonstration of the situation on the Web, with confidential information removed as needed, then you can't realistically expect to be helped. Our crystal balls are already overheated. -- Yucca, http://www.cs.tut.fi/~jkorpela/ Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html |
|