Form
Name input
Published on
Description
The name input captures a person's name. Use autocomplete values like given-name, family-name, or name to enable browser autofill.
Example
Accessibility
- Use explicit
<label for="id">association with clear label text. - Use appropriate
autocompletevalues (name,given-name,family-name,additional-name,honorific-prefix,honorific-suffix). - Do not split name fields unnecessarily — a single "Full name" field is often more inclusive.
References
- My Priority of Methods for Labeling a Control (opens in new tab) — Adrian Roselli
Related
- Text input — for general text
Variables
None for input