Key points
- Visible labels explain a field to people; input purposes help browsers and assistive technology identify its meaning.
- Establish whose information the field collects before choosing an autocomplete value.
- Autofill is assistance, not proof of correctness or a reason to collect unnecessary information.
What is missing when the label is already clear?
A visible label and a programmatically identifiable input purpose do different jobs. The label tells a visitor what to enter; the purpose lets software recognise a name, email address or another specific kind of information. W3C Identify Input Purpose applies to fields collecting user information that match its specified purpose list where the technology supports identification.
Making “Name” a longer label is not the same change. Nor should labels be removed in favour of autofill. Ask the developer to review visible copy and field settings together, with each fulfilling its own role.
How do type, label and autocomplete differ?
W3C’s explanation distinguishes a data type from its specific purpose: type="email" indicates an email address but does not itself identify whether it belongs to the user or someone else. Autocomplete can give a more specific purpose hint.
For example, the developer can assess name for an enquirer’s full name, or given-name and family-name where those parts genuinely need separate fields. Do not split a name merely to imitate a technical example, or mistake an organisation name for a personal name.

Make a field-purpose map before changing anything
List each visible label, whose information it collects, its business use and whether it is necessary. The developer can then consult MDN’s autocomplete values. A simple entry might be “Enquirer name — the user — how to address them”. This is suggested handover practice, not a test record.
If billing and delivery details both exist, distinguish their roles rather than treating two address fields as interchangeable. MDN describes grouping hints such as shipping and billing. Only use values relevant to the actual form; this is not a reason to add payment fields.
Will the setting always fill in the correct details?
No. MDN describes autocomplete as a hint to the user agent; suggested values and behaviour depend on the browser and other factors. Keep an opportunity for people to inspect and change their details rather than treating prefilled data as verified.
Useful acceptance scenarios include correcting an old contact detail, checking that two people’s details do not become confused, and completing the form manually without saved information. These are test scenarios, not claims that a particular browser necessarily has those faults.
How do you check more than the presence of an attribute?
First check the field-purpose map, then test manual entry, accepting suggestions and editing suggested values within the supported device and browser scope. Record the configuration and observed outcome, especially whether the values remain understandable and editable before submission.
Mark untested combinations as pending. This improvement does not establish whole-form accessibility or privacy compliance, and it does not change the design principle of collecting only necessary information. No website was operated and no visitor’s saved information was accessed for this article.
Frequently asked questions
Can autocomplete replace a visible label?
No. They perform different jobs. Keep a human-readable label and check the programmatically identifiable purpose as well.
Does type="email" fully identify the purpose?
Not necessarily. It identifies an email type, not necessarily whose address is requested; see W3C’s explanation.
Must every field use a name or address token?
No. Choose a value appropriate to the real purpose. Do not mislabel service requirements or other unrelated information as personal-data fields.
Can visitors be prevented from editing autofilled details?
Do not treat autofill as verified input. People should be able to check and amend details that may not suit this enquiry.
Does adding the setting prove all browsers pass?
No. Record the combinations actually tested and leave others pending. Code inspection is not a substitute for interaction testing.
