This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

aria-invalid

Applies to
## 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