> For the complete documentation index, see [llms.txt](https://docs.does.qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.does.qa/test-steps/check/check-focused.md).

# Check Focused

Check Focused confirms keyboard focus is on the [Element](/elements/creating-elements.md). Use it to prove tab order, autofocus, or post-click focus landed on the right control.

See [Element states](/test-step-options/element-states.md) for how focus fits with the other Element state checks.

![Check focused Test Step](https://app.does.qa/screenshots/node/check_is_focused.png)

## When to use it

* Confirm the first field is focused when a form opens.
* Verify focus moved to an error field after failed validation.
* Pair with [Check Not Focused](/test-steps/check/check-not-focused.md) when focus should leave a control.

## Configure

### Basics

| Field       | What to set                                            |
| ----------- | ------------------------------------------------------ |
| **Element** | The [Element](/elements/creating-elements.md) to check |

### Advanced

| Field                                 | What to set                                          |
| ------------------------------------- | ---------------------------------------------------- |
| **Status on fail**                    | [Failed Status](/test-step-options/failed-status.md) |
| **When should screenshots be taken?** | `Always` or `On Failures` (default)                  |

## Related

* [Check Not Focused](/test-steps/check/check-not-focused.md)
* [Element states](/test-step-options/element-states.md)
* [Check](/test-steps/check.md)

**Tags:** `check`, `is`, `focused`, `test`, `expect`, `assert`, `element`, `state`
