aria-required
## Notes
Remarks
Used in Roles
|
-
combobox
-
gridcell
-
listbox
-
radiogroup
-
spinbutton
-
textbox
-
tree
|
The **aria-required** property indicates which input fields of a form must be filled in before it can be submitted. If the user attempts to submit the form without the required information, you may set [**aria-invalid**](/aria/attributes/aria-invalid) to indicate the error. **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