HTML aria-required ARIA Attribute
The aria-required attribute tells assistive technology that the user must fill in a custom form field before the form can be submitted.
Description
The aria-required attribute indicates that a field is required: the user must provide a value before the form can be submitted. Screen readers announce it, for example "Email, edit text, required".
The attribute only informs; it doesn't stop the form from being submitted and has no visual effect. Check the value in your script, and show sighted users that the field is required too, for example with the word "required" or an asterisk that is explained at the top of the form.
On native <input>, <select> and <textarea> elements, use the HTML required attribute, which is announced in the same way and also triggers the browser's own validation. For a group of radio buttons, put aria-required on the radiogroup, not on each radio.
Properties
- Type
- Widget
- Value
- true/false
- Default
false- Used with
checkbox,combobox,gridcell,listbox,radiogroup,spinbutton,textbox,tree
Syntax
<element aria-required="true | false">
Values
- trueA value is required before the form can be submitted.
- falseThe default: the field is optional.
Example
Browser Support
The following information will show you the current browser support for the aria-required ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.
Desktop





Tablets & Mobile





