FormControl
FormControl
is a component used to group form elements with label, helper message, error message, etc.
ARIA Roles and Attributes
Component | Roles and Attributes | Usage |
---|---|---|
RequiredIndicator | role="presentation" | Indicates that this is a presentation element. |
aria-hidden | Excludes the element from the accessibility tree. | |
ErrorMessage | aria-live="polite" | Indicates that it may be updated outside of focus. |
HelperMessage | aria-describedby | Sets the id of the input element in FormControl . |
Edit this page on GitHub