disable tabindex

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
9902468
Forum Commoner
Posts: 89
Joined: Thu Jun 06, 2002 6:39 am
Location: Europe

disable tabindex

Post by 9902468 »

I have pages that moustly contain input forms and I wan't to prevent certain elements to be in the tab route. ie. I wan't to cycle through form elements, but not the menu etc. Now user cycles once through form elements, then menu, then links and then from again. I wan't only the form to be tabbable. Is this possible?

-9902468
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

if i remember right, just set tabindex for those elements you want to tab through. for the ones you don't want, don't specify tabindex.
User avatar
9902468
Forum Commoner
Posts: 89
Joined: Thu Jun 06, 2002 6:39 am
Location: Europe

Post by 9902468 »

mydimension wrote:if i remember right, just set tabindex for those elements you want to tab through. for the ones you don't want, don't specify tabindex.


Doesn't work. Atleast mozilla and ie go through all elements that have tabindex and after that all elements without tabindex. (Resulting in about 35 ~ 70 tab hits before the form begins again...)
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

I didn't find anything about disableing the tabindex, neither in http://www.w3.org/TR/html4/interact/for ... f-tabindex nor somewhere else
Post Reply