# Autocorrect

> Represents values for the HTML autocorrect global attribute.

[API reference](/docs/api/index.md) › [HTML Attribute](/docs/extensions/html-attribute/reference/index.md) › [Values](/docs/extensions/html-attribute/reference/values/index.md) › Autocorrect

| enum | `UIAwesome\Html\Attribute\Values\Autocorrect` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Values/Autocorrect.php`](https://github.com/ui-awesome/html-attribute/blob/main/src/Values/Autocorrect.php#L12) |

Represents values for the HTML `autocorrect` global attribute.

See also: <https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocorrect>.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-OFF"></span>`OFF` | `'off'` | Represents the `off` token. Disables automatic correction of editable text. |
| <span id="case-ON"></span>`ON` | `'on'` | Represents the `on` token. Enables automatic correction of spelling and punctuation errors. |