Design Principle: Is there ever a reason to turn TabStop off?

349 Views Asked by At

In Visual Studio .NET the TabStop property is by default set to True for all command and input fields. Most other designers have some concept of tab control for "power users" who don't like to switch to their mouse a lot.

This property simply toggles the ability for the control to receive focus when the user hits the tab button to iterate through the tab order.

I've heard many developers talk about whether or not every field should be in the tab order. Here are some of the arguments I've heard on either side:

Always On:

  1. Turning off the tab order to a button forces the user to take his hands off the
  2. keyboard to click it which slows down your flow.
  3. Microsoft defaults it to true for a reason.
  4. Disabled/hidden buttons don't get focus anyway.

Sometimes Off:

  1. Cancel buttons and delete buttons should be outside the tab order to avoid accidental execution.
  2. Yes its out of the tab order, but you should set a mnemonic so you can still access it with the keyboard.

My question revolves around good design principles:

  1. Is there ever a good reason to turn TabStop off for a Command button?
  2. Is there ever a good reason to turn TabStop off for an input field?

If you would say yes to either of these, do you know of any well-known program examples? such as Windows Media player? or somewhere in the control panel or something as an example of a field/button without a tab order?

1

There are 1 best solutions below

6
On

Sure. Microsoft Outlook. You tab through the "To", "CC' and other fields, but don't have a tab stop on the tool strips (or on the "To..." and "Cc..." buttons for that matter).

On my layout, put the cursor in the "To" TextBox, hit tab, and yo jump to the "CC" text box. Tab again to go to the subject TextBox, and finally the next tab puts you into the body of the email (where a TAB just inserts a tab in the body).

There are plenty of UI elements on complex forms that the user almost never needs to use, but are there for those odd cases. Open up a new email in Outlook and just look at all the buttons in there. Imagine having to tab through all of those.

There are plenty of apps where this is done, and it's for usability. It's often quite necessary to remove tab stops.