Name
Use this pattern when you need to ask users for their names
Examples
General name field
Multiline name field
Usability guidelines
Labeling of name fields
- Name fields should be long enough to accommodate the names of your users.
- Make sure that you support all characters that users may need to enter, including symbols and numbers.
- This accommodates the widest range of name types and formats.
- Reduces the risk of users entering their name in the incorrect format.
- Set the
autocomplete
attribute toname
so that browsers can fill in their name if they have entered in previously.
- Use multiple name fields with discretion. Not everyone's name fits the general first-name, last-name convention.
- Using multiple name fields increases the risk of a person's name not fitting the same convention. Hence, it may be entered incorrectly.
- Set the
autocomplete
attributes togiven-name
andfamily-name
so that browsers can fill in their names if they have entered in previously.
Last updated 02 October 2024