# Focus Control
Focus control attributes set whether a component is focusable and how it participates in focus navigation.
> **NOTE**
>
> The APIs of this module are supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version.
## Attributes
| Name | Type| Description |
| -------------------- | -------- | ---------------------------------------- |
| focusable | boolean | Whether the current component is focusable. **NOTE** Components that have default interaction logic, such as **\** and **\**, are focusable by default. Other components, such as **\** and **\**, are not focusable by default. Only focusable components can trigger a [focus event](ts-universal-focus-event.md).|
| tabIndex9+ | number | Tab order of the component in sequential focus navigation with the **Tab** key. When components with positive **tabIndex** values are present, only these components are reachable through sequential focus navigation, and they are navigated cyclically in ascending order based on the **tabIndex** value. When components with positive **tabIndex** values are not present, those components with a **tabIndex** value of **0** are navigated based on the preset focus navigation rule. - **tabIndex** >= 0: The component is focusable and can be reached through sequential keyboard navigation. - **tabIndex** < 0 (usually **tabIndex** = -1): The component is focusable, but cannot be reached through sequential keyboard navigation. Default value: **0**|
| defaultFocus9+ | boolean | Whether to set the component as the default focus of the page. This attribute takes effect only when the page is new and accessed for the first time. Default value: **false**|
| groupDefaultFocus9+ | boolean | Whether to set the component as the default focus of the parent container. This parameter takes effect only when the container is new and obtains focus for the first time. Default value: **false** **NOTE** This parameter must be used together with **tabIndex**. When **tabIndex** is set for a container and **groupDefaultFocus(true)** is set for a child in the container or for the container itself, then when the container obtains focus for the first time through sequential Tab navigation, the focus automatically moves to the specified component. If **groupDefaultFocus(true)** is set for multiple components in the container (including the container itself), the first component found in the component tree in-depth traversal receives the focus.|
| focusOnTouch9+ | boolean | Whether the component is focusable on touch. Default value: **false** **NOTE** The component can obtain focus only when it is touchable or clickable.|
## focusControl9+
Implements focus control.
### requestFocus9+
requestFocus(value: string): boolean
Requests the focus to move to the specified component. This API can be used in global method statements.
**Parameters**
| Name| Type| Mandatory| Description|
| ----- | ------ | ---- | ---- |
| value | string | Yes | String bound to the target component using **key(value: string)** or **id(value: string)**.|
**Return value**
| Type| Description|
| ------- | ---- |
| boolean | Returns whether the focus is successfully moved to the target component. Returns **true** if the specified component exists and the focus is successfully moved to the target component; returns **false** otherwise.|
> **NOTE**
>
> The following components support focus control: **\**, **\