@voussoir/field
v0.1.6
Published
Provides the accessibility implementation for fields, connecting the label, description, and message to an input element.
Downloads
26
Keywords
Readme
@voussoir/field
The Field
component associates a form control with a label, and an optional
description and/or error message. This is useful for providing context about how
users should fill in a field, or a validation message. Field
takes care of
creating IDs for each element and associating them with the correct ARIA
attributes (aria-labelledby
and aria-describedby
).