accessibility glossary

Roving Tabindex

A technique for managing keyboard focus inside composite widgets like toolbars or menus, where only one item is in the Tab order at a time and arrow keys move focus between the rest.

Roving tabindex keeps a composite widget, a toolbar, a radio group, a custom menu, out of a user’s way in the page’s overall Tab order by giving only the currently active item a tabindex of 0 and every other item a tabindex of -1. Arrow keys then move focus and swap which item holds that active tabindex value.

This mirrors how native HTML controls like radio buttons already behave, and it prevents a widget with twenty items from forcing a keyboard user to press Tab twenty times just to get past it.

Need help with Accessibility Remediation Services? See how halfAccessible can help.

Accessibility Remediation Services