Hide
Easily highlight source code for your blog with our Syntax Highlighter. Join Siafoo Now or Learn More

Change What Can Be Tabbed To in Firefox Atom Feed 0

Is your Firefox not allowing you to tab between all form fields or all elements? Or would you rather it didn't allow you to? The solution is to change the 'accessibility.tabfocus' preference.

Everyone has their own preference for what elements 'tab' should cycle through. Personally, I like it to cycle through everything, but I can certainly understand those who just want it to cycle through form fields. But only text fields (the default in OS X, at least)? Come on, what's the point? : )

The Options

Firefox has a hidden preference called 'accessibility.tabfocus' that controls what 'tab' cycles through. It can be set to any of the following values:

  • 1: only text fields
  • 3: all form elements
  • 4: only links and linked images
  • 5: text fields, links, and linked images (but not other form elements) (1 + 4)
  • 7: all form elements and links (3 + 4)

Really it seems like 3 and 7 are what most people would find useful.

Setting An Option

In Firefox, type 'about:config' in the location bar (or whatever it's called) to bring up the 'hidden preferences'. Use the filter at the top to search for 'accessibility.tabfocus'.

If it exists, set your preferred value by double-clicking on it.

If it doesn't exist, you'll have to create it. Right-click somewhere in the field of preferences, and select 'New > Integer'. Enter the preference name as 'accessibility.tabfocus' and the value as whatever value you'd like.

Further Reading

For more details, check out the Mozilla Knowledge Base article.

Credit for actually making this findable on the internet(s?) goes to crazybob.org.