aria-invalid
## Notes
Remarks
Used in Roles
|
-
No role required.
|
Set the **ariaInvalid** state to indicate that the user input is incorrect or not within acceptable ranges. To indicate that input is required, use [**ariaRequired**](/aria/attributes/aria-required). **Note** For cross-browser compatibility, always use the WAI-ARIA attribute syntax to access and modify ARIA properties, for example `object.setAttribute("aria-valuenow", newValue)`.
Syntax
Standards information
See also
Related pages
Attributions