aria-invalid is used to indicate that the value entered in an input is not correct. It accepts "true" and "false" as a value. Use with together with aria-errormessage so that the assistive device know which error it relates to

<input type="text" aria-invalid="true" />