> 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-not-focused.md).

# Check Not Focused

Check Not Focused confirms keyboard focus is not on the [Element](/elements/creating-elements.md). Use it when focus should move away after submit, dismiss, or tab navigation.

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

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

## When to use it

* Confirm focus left an input after the form submitted.
* Verify a modal field lost focus when the dialog closed.
* Pair with [Check Focused](/test-steps/check/check-focused.md) on the control that should receive focus next.

## 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 Focused](/test-steps/check/check-focused.md)
* [Element states](/test-step-options/element-states.md)
* [Check](/test-steps/check.md)

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