COMPONENTS
Forms
Native controls need explicit labels. RevaCSS supplies appearance; your HTML supplies names, hints, errors and form behavior.
Usage
Markup: label, input, select, textarea, fieldset, legend
Behaviour: Native validation is preserved; applications provide error messages.
Component API and styling module · Inherited appearance settings
Disabled and read-only states
Native disabled fieldsets disable their descendant controls. Read-only fields retain focus and submission; disabled fields are omitted from submission.
Date, time and numeric controls
Native pickers, constraints and keyboard behaviour remain browser-owned. Picker appearance and support vary by browser. These fields have no submission handler.
Text fields, select and textarea
Associate labels with unique input IDs. Set appropriate input types and autocomplete tokens.
Checkboxes and radios
Wrap each choice in its label. A shared radio name creates one native selection group.
Hints, errors and read-only fields
Connect explanatory text with aria-describedby. aria-invalid styles a supplied error state; CSS does not create or announce errors.
Enter an email address containing @.
Other native controls
Range, file, colour, date, progress and meter retain native behavior. No output calculation is performed by CSS.
Minimal controls
data-controls changes input treatment. It does not remove required labels or control boundaries.