Skip to content

Find what you need, instantly

Search components, ARIA roles & attributes, and WCAG criteria.

All attributes

aria-required

Boolean

Indicates that the user must provide a value for a field before the form can be submitted. Screen readers announce the field as 'required' so the expectation is clear up front. On native controls prefer the `required` attribute, which also triggers browser validation; use aria-required for custom widgets.

Values
true
User input is required before submission.
false (default)
User input is optional.
Used on
<input><select><textarea>
Example
aria-required="…"
<input role="spinbutton" aria-required="true" />