> For the complete documentation index, see [llms.txt](https://govtnz.gitbook.io/nz-government-web-standards/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://govtnz.gitbook.io/nz-government-web-standards/accessible-forms/tab-behaviour-with-fieldsets.md).

# Tab behaviour with fieldsets

## Question

Currently where we have fieldsets containing, say, multiple radio buttons, the tab behaviour is to focus on the first of the radio buttons, then to tab out to the next field or fieldset. When focus arrives on the fieldset, the up and down arrow keys will navigate between radio buttons.

Is this the expected behaviour, or should we be forcing the tab order to take in every radio button in the fieldset?

## Answer

That’s the expected behaviour: tab to the first radio, then use arrow keys to select, as pressing tab again moves focus to the next focusable element that is not one of the radios in that group.
