Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Using Tab Key to Select Only Text Boxes and Other Objects in Forms [SOLVED]

  • 1 réponse
  • 1 a ce problème
  • 5 vues
  • Dernière réponse par steiney

more options

I'm running Firefox 3.6.12 on a Mac running 10.4 (Tiger).

I recently switched over from Safari. In Safari's preferences, there was an option for whether the tab key would select all elements of a webpage or just the textboxes, selection boxes and buttons.

In Firefox, it seems that the decision is based on how you have your preference set in the "keyboard & mouse" pane of the System Preferences. Firefox doesn't have it's own preference setting that overrides the universal setting.

I looked pretty thoroughly for an add-on that would solve the problem, but didn't find anything. I'm wondering if there's a way to use Applescript to solve the problem, or if there's an add-on I overlooked.

Also, I suspect that there might be a way to solve the problem by adjusting some values in the "about:config" page, but I don't know nearly enough about that sort of thing to go poking around in there.

Any help would be greatly appreciated!

steiney

I'm running Firefox 3.6.12 on a Mac running 10.4 (Tiger). I recently switched over from Safari. In Safari's preferences, there was an option for whether the tab key would select all elements of a webpage or just the textboxes, selection boxes and buttons. In Firefox, it seems that the decision is based on how you have your preference set in the "keyboard & mouse" pane of the System Preferences. Firefox doesn't have it's own preference setting that overrides the universal setting. I looked pretty thoroughly for an add-on that would solve the problem, but didn't find anything. I'm wondering if there's a way to use Applescript to solve the problem, or if there's an add-on I overlooked. Also, I suspect that there might be a way to solve the problem by adjusting some values in the "about:config" page, but I don't know nearly enough about that sort of thing to go poking around in there. Any help would be greatly appreciated! steiney

Modifié le par cor-el

Toutes les réponses (1)

more options

I had my question answered over at firefoxforum.com.

The solution is to go into the configuration editor ("about:config"), and create a new integer preference, titled "accessibility.tabfocus", and set the value to "3", assuming you want tab to highlight only text boxes and selection boxes. If you want tab to behave differently, there are other values the preference can be set to, as described here:

http://kb.mozillazine.org/accessibility.tabfocus

Alternatively, you can change the setting for tab behavior in the preference pane in OS X, but that affects every program and obviously only applies to Macs, whereas creating a new preference affects only Firefox and works on any platform.