This question is about usable tab sequences in dynamic forms. Is it possible to exclude conditional fields from the tab sequence when they are hidden, and include them when they are visible? Assume that the conditional fields are in the middle of the form, not at the end.

What I'm hoping to prevent is the tab sequence jumping around in unpredictable ways (non-linearly) and getting lost (jumping to hidden fields).


1 Answer 1


Yes, this is possible.

The actual implementation may vary depending on the platform. In HTML/CSS for example, you can set visibility: hidden or disabled: disabled and the tab index will be skipped automatically.

  • Thanks Mike. Does it alos work if the tab sequence is explicitly defined (tabindex)? Commented Sep 2, 2014 at 16:31
  • Yes, the focus will jump to the next higher tabindex that is not hidden or disabled.
    – swbandit
    Commented Sep 2, 2014 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.