One mistyped letter in an email address breaks everything that follows, yet strict checks reject addresses that work.
The answer
Use an email field and check only that the address looks plausible. Suggest a fix for likely typos, but let people continue. As strong as the weakest rule behind it: moderate.
-
Use the email input type so phones show a keyboard with @ and dot.
Three government systems and MDN agree. Rated 3.
- Applies when
- Always.
- Based on
- Convention
- Principle
- Let practiced people go faster
- GuidanceGuidance: Ask users for email addresses (GOV.UK Design System)Government Digital Service
- Guidance: Patterns: Create a user profile, Email addressU.S. Web Design System, 2022
- Guidance: Email addresses pattern (ONS Design System)UK Office for National Statistics
- Guidance: <input type="email">MDN Web Docs
-
Check only that the address looks plausible. Accept unusual valid ones, such as addresses with a plus sign.
USWDS, ONS and MDN agree, and the mail standard allows far more than most checks accept. Rated 3.
- Applies when
- Always.
- Based on
- Convention
- Principle
- Prevent errors
- Common mistake
- A check that rejects valid addresses (rule 3).
- StandardStandard: Simple Mail Transfer Protocol (RFC 5321), section 2.4IETF, 2008
- GuidanceGuidance: Patterns: Create a user profile, Email addressU.S. Web Design System, 2022
- Guidance: Email addresses pattern (ONS Design System)UK Office for National Statistics
- Guidance: <input type="email">MDN Web Docs
-
When the domain looks misspelled, suggest the likely address, and let people continue either way.
GOV.UK and ONS advise it; Baymard argues for warnings over blocking from testing without numbers. Rated 3.
- Applies when
- Always.
- Based on
- Practitioner research
- Principle
- Prevent errors
- User researchUser research: Form Usability: Validations vs WarningsBaymard Institute, 2014
- GuidanceGuidance: Ask users for email addresses (GOV.UK Design System)Government Digital Service
- Guidance: Email addresses pattern (ONS Design System)UK Office for National Statistics
The other rules
-
Mark the person’s own email field with the email autocomplete token.
WCAG 2.2 level AA (1.3.5); GOV.UK names it for this field. Reopened and checked.
- Applies when
- The person is entering their own details.
- Based on
- Standard or law
- Depends on
- Whose details they enter
- Principle
- Work for everyone
- GuidanceGuidance: wcag22-1.3.5
- Guidance: Ask users for email addresses (GOV.UK Design System)Government Digital Service
-
Allow pasting, and trim spaces around the address instead of rejecting it.
Two government systems; no evidence. Rated 2.
- Applies when
- Always.
- Based on
- Convention
- Principle
- Prevent errors
- Common mistake
- Blocking paste into a confirm field.
- GuidanceGuidance: Ask users for email addresses (GOV.UK Design System)Government Digital Service
- Guidance: Email addresses pattern (ONS Design System)UK Office for National Statistics
-
Ask once, then show the address back so people can check it.
GOV.UK says only if your own research supports it; USWDS allows it for sensitive cases; one vendor case study without numbers included it in a winning variant. Rated 1.
- Applies when
- Always.
- Based on
- Practitioner research
- Principle
- Prevent errors
- ExperimentExperiment: Should we use multiple input fields to prevent mistakes by users?Andy Peterson, 2014
- GuidanceGuidance: Ask users for email addresses (GOV.UK Design System)Government Digital Service
- Guidance: Patterns: Create a user profile, Email addressU.S. Web Design System, 2022
- Guidance: Azalp form optimization case study (email field)Zuko Analytics
Accessibility
Open questions
- OpenNo systematic review, published experiment or peer-reviewed study on email entry was found.
- OpenHow often addresses are mistyped: the only figure comes from a validation vendor with no stated method.
- OpenMaximum length: sources give 254, 256 and 320 characters.
Sources
- ExperimentExperiment: Should we use multiple input fields to prevent mistakes by users?Andy Peterson, 2014
- User researchUser research: Form Usability: Validations vs WarningsBaymard Institute, 2014
- StandardStandard: Simple Mail Transfer Protocol (RFC 5321), section 2.4IETF, 2008
- GuidanceGuidance: wcag22-1.3.5
- Guidance: Ask users for email addresses (GOV.UK Design System)Government Digital Service
- Guidance: Patterns: Create a user profile, Email addressU.S. Web Design System, 2022
- Guidance: Email addresses pattern (ONS Design System)UK Office for National Statistics
- Guidance: <input type="email">MDN Web Docs
- Guidance: Azalp form optimization case study (email field)Zuko Analytics
Related
- Autofill and identifying input purposeMark each field with what it is for, and never block autofill, pasting or password managers.Answer: settled.
- When to validate a form fieldCheck on submit, and do not show an error until people have finished the field.Answer: moderate.
- Error message contentSay which field is wrong and how to fix it, right next to the field.Answer: strong.
- Sign upDo not require an account where the service works without one, and ask only for what the account needs.Answer: weak.