ARIA Required (
aria-required) indicates if a form field is required. The traditional method has been to add a “*” to the end of the fields’ LABEL text, and this is still recommended until all browsers and AT support the
aria-required uses “true” and “false” to indicate the property. “True” makes the field required, and “false” is not required.
aria-required to true:
aria-required to false has no effect on the screen reader:
|IE 9||JAWS 12||Yes|
|FF 4||JAWS 12||Yes|
- WCAG 2.0 ARIA2 Identifying required fields: with the aria-required property.
- WCAG 2.0 SC 1.3.1 Info and Relationships: Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text. (Level A)
- WCAG 2.0 SC 3.3.2 Labels or Instructions: Labels or instructions are provided when content requires user input. (Level A)
- WCAG 2.0 SC 3.3.3 Error Suggestion: If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content. (Level AA)