---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://divkit.tech/docs/en/concepts/divs/2/div-action-focus-element.md
  - https://divkit.tech/docs/ru/concepts/divs/2/div-action-focus-element.md
---
> **Documentation Index:** Fetch the complete configuration index at https://divkit.tech/docs/en/llms.txt

# div-action-focus-element
Requests focus for an element. May require a user action on the web.

## Parameters
| Parameters | Description |
| --- | --- |
| `element_id` | <p>**string**</p><p>Required parameter.</p> |
| `type` | <p>**string**</p><p>Required parameter.</p><p>The value must always be `focus_element`.</p> |

<details>
<summary>JSON</summary>

```json
{
  type*: "focus_element",
  element_id*: "string"
}
```
</details>
