# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://govtnz.gitbook.io/nz-government-web-standards/accessible-forms/tab-behaviour-with-fieldsets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
