Form
The fields a person types into, in the states a real form puts them in. Each one sits in a padded rst-box, because that is the card a form goes in.
- fieldLabel, input, optional hint, help and error. The general text-like control, with an explicit ID.
- field-textOne labelled text input. The required marker's star is aria-hidden; the input's required attribute is the programmatic signal.
- field-urlA web address field that accepts example.com with or without https://. Whatever reads the form has to add the scheme and check the address.
- field-moneyA money amount in one currency. The currency code shows beside the label and is sent with the form, so a currency that changed while someone was typing is caught on save.
- field-textareafield-text's wrapper around a textarea.