# Phone number input

> People write phone numbers in many ways, and forms that insist on one way reject numbers that work.

Area: Forms. Evidence behind the answer: Moderate. Last checked November 11, 2026.
Page: https://uxreference.com/forms/phone

## The answer

Ask only if you will use it, take it in one field, and accept the number however it is written.

- **Moderate.** Ask for a phone number only if you’ll use it. Say why next to the field, and make it optional when you can. (https://uxreference.com/forms/phone#rule-1)
- **Moderate.** Use one field for the whole number. (https://uxreference.com/forms/phone#rule-2)
- **Moderate.** Accept numbers however people write them, with spaces, dashes, brackets or a plus sign, and tidy them yourself. (https://uxreference.com/forms/phone#rule-6)

## The problem

People write phone numbers in many ways, and a form that insists on one way rejects numbers that work.

## How to decide

Do not ask unless the number will be used, and say why. Use one telephone-type field, accept any way of writing the number, check it yourself and leniently, and leave what the person typed alone. Mark the field as a telephone number when it is the person's own. If people may be abroad, say international numbers are accepted and take a country code with the number.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Moderate

Ask for a phone number only if the service will use it. Say why it is wanted next to the field, and let people skip it when it is not essential.

- Applies when: Always.
- Based on: Practitioner research
- Principle: Leave out what is not needed

Why: Baymard's survey (n=1,026) and test observations, plus GOV.UK and USWDS guidance, agree. Baymard does not publish its test samples, and nothing measures the effect of the explanation, so 3.

Sources: [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/); [USWDS pattern, Create a user profile: Phone number](https://designsystem.digital.gov/patterns/create-a-user-profile/phone-number/); [Phone number UX: always explain why the phone field is required](https://baymard.com/blog/explain-phone-number-field); [Checkout experience: don't require seemingly unnecessary information](https://baymard.com/blog/checkout-experience-seemingly-unnecessary-information); [Falsehoods Programmers Believe About Phone Numbers](https://chromium.googlesource.com/external/libphonenumber/+/refs/heads/java7_java8/FALSEHOODS.md)

Link: https://uxreference.com/forms/phone#rule-1

#### Rule 2. Moderate

Use one field for the whole number. Do not split it into parts.

- Applies when: Always.
- Based on: Convention
- Principle: Let practiced people go faster

Why: GOV.UK, USWDS and Google's guidance agree. The one experiment found no difference between three fields and one masked field, so the rule is based on convention: 3.

Sources: [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/); [USWDS pattern, Create a user profile: Phone number](https://designsystem.digital.gov/patterns/create-a-user-profile/phone-number/); webdev-2026-address-form-codelab; [Autofill (Learn Forms)](https://web.dev/learn/forms/autofill); [Census Bureau experiment: phone format (benefit messages study)](https://census.gov/content/dam/Census/library/working-papers/2017/adrm/rsm2017-02.pdf)

Link: https://uxreference.com/forms/phone#rule-2

#### Rule 3. Settled, WCAG AA

If the number is split across fields anyway, give the group one label and give each part its own name.

- Applies when: The number is split across fields.
- Based on: Standard or law
- Principle: Work for everyone

Why: Required by WCAG 2.2 (3.3.2 at A, 1.3.5 at AA). Both reopened and checked. The list of telephone tokens in WCAG itself could not be fetched; the token names come from the HTML standard.

Sources: [Understanding SC 3.3.2 Labels or Instructions](https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html)

Link: https://uxreference.com/forms/phone#rule-3

#### Rule 4. Settled, WCAG AA

Mark the field in code as a telephone number so browsers and assistive technology can identify and fill it.

- Applies when: The person is entering their own details.
- Based on: Standard or law
- Depends on: Whose details they enter
- Principle: Let practiced people go faster

Why: Required by WCAG 2.2 (3.3.2 at A, 1.3.5 at AA). Both reopened and checked. The list of telephone tokens in WCAG itself could not be fetched; the token names come from the HTML standard.

Sources: wcag22-1.3.5; [HTML Standard, autofill field names for telephone numbers](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill); [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/)

Link: https://uxreference.com/forms/phone#rule-4

#### Rule 5. Moderate

Use the telephone input type so touch devices show a phone keypad.

- Applies when: Always.
- Based on: Convention
- Principle: Let practiced people go faster

Why: Convention across the HTML standard, Google and GOV.UK. The standard does not promise a keypad, and USWDS's written guidance prefers a text field with a numeric hint. Rated 3.

Sources: [HTML Standard, Telephone state (type=tel)](https://html.spec.whatwg.org/multipage/input.html#telephone-state-(type=tel)); webdev-2026-address-form-codelab; chrome-2026-autofill-address-form; [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/); [Input Tel (usage)](https://designsystem.porsche.com/v4/components/input-tel/usage/); [USWDS pattern, Create a user profile: Phone number](https://designsystem.digital.gov/patterns/create-a-user-profile/phone-number/)

Link: https://uxreference.com/forms/phone#rule-5

#### Rule 6. Moderate

Accept the number however people write it, with spaces, hyphens, brackets, or a leading plus sign, including when pasted. Remove the extra characters yourself instead of rejecting them.

- Applies when: Always.
- Based on: Practitioner research
- Principle: Prevent errors

Why: Consistent across GOV.UK, USWDS, NN/g and the libphonenumber maintainers, with Baymard's observation that format examples are ignored. No controlled study, so 3.

Sources: [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/); [USWDS pattern, Create a user profile: Phone number](https://designsystem.digital.gov/patterns/create-a-user-profile/phone-number/); [Website forms usability: top 10 recommendations](https://www.nngroup.com/articles/web-form-design/); [Falsehoods Programmers Believe About Phone Numbers](https://chromium.googlesource.com/external/libphonenumber/+/refs/heads/java7_java8/FALSEHOODS.md); [Input masking for restricted form fields (phone, date, card)](https://baymard.com/blog/input-masking-form-field); [Phone Input guidelines (Catnip)](https://catnip.signicat.com/components/input-phone/guidelines.html)

Link: https://uxreference.com/forms/phone#rule-6

#### Rule 7. Moderate

Do the validity check yourself, because the browser does none for phone fields, and keep it lenient. Do not reject a number for an unusual length or for belonging to another country unless the service truly cannot use it.

- Applies when: Always.
- Based on: Convention
- Principle: Prevent errors

Why: The HTML standard states the fact; the leniency advice is expert opinion from library maintainers and design systems. Rated 3.

Sources: [HTML Standard, Telephone state (type=tel)](https://html.spec.whatwg.org/multipage/input.html#telephone-state-(type=tel)); [Falsehoods Programmers Believe About Phone Numbers](https://chromium.googlesource.com/external/libphonenumber/+/refs/heads/java7_java8/FALSEHOODS.md); [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/); [Phone field (customer account UI extensions, web components)](https://shopify.dev/docs/api/customer-account-ui-extensions/2026-04/web-components/forms/phone-field); [Phone Input guidelines (Catnip)](https://catnip.signicat.com/components/input-phone/guidelines.html)

Link: https://uxreference.com/forms/phone#rule-7

#### Rule 8. Unsettled

Whether to format the number as it is typed (an input mask) is unsettled.

Until the evidence settles, use this default: Do not mask. If you do, never block characters, keep paste and correction working, and test it with a screen reader.

- Applies when: Always.
- Based on: Practitioner research
- Principle: Prevent errors

Why: Evidence points both ways and the only experiment is inconclusive. Rated 1.

Sources: [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/); [Input masking for restricted form fields (phone, date, card)](https://baymard.com/blog/input-masking-form-field); [Bad practices on phone number form fields](https://uxmovement.com/forms/bad-practices-on-phone-number-form-fields/); [USWDS input mask component](https://designsystem.digital.gov/components/input-mask/); [Census Bureau experiment: phone format (benefit messages study)](https://census.gov/content/dam/Census/library/working-papers/2017/adrm/rsm2017-02.pdf); [Phone number (Jutro 10.13)](https://docs.guidewire.com/jutro/documentation/10.13/phone-number)

Link: https://uxreference.com/forms/phone#rule-8

#### Rule 9. Weak

Do not rewrite the number in the field after the person has typed it, for example by adding a country prefix.

- Applies when: Always.
- Based on: Practitioner research
- Principle: Keep people in control

Why: One GOV.UK team's observation of confused users, against a design system that reformats on leaving the field. Rated 2.

Sources: [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/); [Phone number (Jutro 10.13)](https://docs.guidewire.com/jutro/documentation/10.13/phone-number)

Link: https://uxreference.com/forms/phone#rule-9

#### Rule 10. Weak

If numbers from other countries are accepted, say so in the label or hint, and accept a country code typed or pasted with the number.

- Applies when: Users are in more than one country.
- Based on: Convention
- Depends on: Where users live
- Principle: Speak the person’s language

Why: GOV.UK itself says international numbers need more research. Rated 2.

Sources: [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/); [Falsehoods Programmers Believe About Phone Numbers](https://chromium.googlesource.com/external/libphonenumber/+/refs/heads/java7_java8/FALSEHOODS.md); [Phone Input guidelines (Catnip)](https://catnip.signicat.com/components/input-phone/guidelines.html); [Contact number pattern](https://designsystem.gov.ae/docs/patterns/contact-number)

Link: https://uxreference.com/forms/phone#rule-10

#### Rule 11. Weak

If you offer a country chooser, let people find a country by typing its name or dialling code, list full country names, start from a country you already know for this person, and do not work out the country from the dialling code alone.

- Applies when: Users are in more than one country.
- Based on: Convention
- Depends on: Where users live
- Principle: Let practiced people go faster

Why: Agreement among a handful of smaller design systems, none citing research. Rated 2.

Sources: [International phone number input pattern](https://saltdesignsystem.com/salt/patterns/international-phone-number-input); [Phone Input guidelines (Catnip)](https://catnip.signicat.com/components/input-phone/guidelines.html); [Phone input](https://design-system.wander.com/docs/components/phone-input); [Contact number pattern](https://designsystem.gov.ae/docs/patterns/contact-number); [Phone number (Jutro 10.13)](https://docs.guidewire.com/jutro/documentation/10.13/phone-number); [Phone Number Field](https://designsystem.dubai.ae/components/phone-number-field); [Falsehoods Programmers Believe About Phone Numbers](https://chromium.googlesource.com/external/libphonenumber/+/refs/heads/java7_java8/FALSEHOODS.md)

Link: https://uxreference.com/forms/phone#rule-11

#### Rule 12. Weak

If the number must be of a particular kind, such as one that can receive text messages, say so before the person types.

- Applies when: The service needs a particular kind of number.
- Based on: Convention
- Principle: Prevent errors

Why: Agreement among a handful of smaller design systems, none citing research. Rated 2.

Sources: [USWDS pattern, Create a user profile: Phone number](https://designsystem.digital.gov/patterns/create-a-user-profile/phone-number/); [Contact number pattern](https://designsystem.gov.ae/docs/patterns/contact-number)

Link: https://uxreference.com/forms/phone#rule-12

## Accessibility requirements

- WCAG 2.2, 1.3.5 Identify Input Purpose (AA): a field collecting the user's own telephone number must expose that purpose in code. An autocomplete value does this; the telephone input type alone does not. (https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose.html)
- WCAG 2.2, 3.3.2 Labels or Instructions (A): the field needs a label. Split fields need a group label and a name for each part (failure F82). (https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html)
- WCAG 2.2, 3.2.2 On Input (A): moving focus to the next part automatically is a change of context unless people are told first. (https://www.w3.org/WAI/WCAG22/Understanding/on-input.html)
- USWDS reports that its own input mask component does not pass all of its WCAG 2.1 AA tests ([USWDS input mask component](https://designsystem.digital.gov/components/input-mask/)).

## Common mistakes

- Requiring one way of writing the number and rejecting the rest. Baymard reports that most test participants ignored the format example they were shown ([Input masking for restricted form fields (phone, date, card)](https://baymard.com/blog/input-masking-form-field)). See [rule 6](https://uxreference.com/forms/phone#rule-6).
- Requiring a phone number without saying why. Baymard reports fake numbers and abandoned checkouts ([Phone number UX: always explain why the phone field is…](https://baymard.com/blog/explain-phone-number-field)). When the purpose is marketing, this becomes a deceptive pattern; link to the dark patterns track when it is written.
- Trusting the browser to validate. The HTML standard says the telephone type checks nothing ([HTML Standard, Telephone state (type=tel)](https://html.spec.whatwg.org/multipage/input.html#telephone-state-(type=tel))). Two vendor pages say otherwise (Build an address form that follows best practice; [Input Tel (usage)](https://designsystem.porsche.com/v4/components/input-tel/usage/)).

## Still open

- Input masks. GOV.UK says avoid them; Baymard and UX Movement recommend masks matched to the country; USWDS ships one that fails its own accessibility tests. The one experiment found no benefit, and its mask misbehaved in about 8% of entries ([Census Bureau experiment: phone format (benefit messages…](https://census.gov/content/dam/Census/library/working-papers/2017/adrm/rsm2017-02.pdf)). No source reports a clean controlled test of a mask against free entry.
- Country choosers. No research found on whether a chooser beats typing the code, or on defaulting the country.
- Peer-reviewed research on phone fields is close to absent. Nearby studies cover dates, currency and digit grouping, not phone numbers.
- Telephone type versus a text field with a numeric keypad hint. USWDS guidance and its own sample markup disagree.

## Related problems

- [When to validate a form field](https://uxreference.com/forms/validation-timing): Check on submit, and do not show an error until people have finished the field.
- [Error message content](https://uxreference.com/forms/error-messages): Say which field is wrong and how to fix it, right next to the field.
- [One-time codes](https://uxreference.com/forms/one-time-code): Use one field that can be pasted into and filled automatically, and do not submit by itself.
- [Input modes and on-screen keyboards](https://uxreference.com/mobile/input-modes): Show the keyboard that matches each field, but accept the same input whatever keyboard appears.

## Sources

- [GOV.UK Design System, Ask users for phone numbers](https://design-system.service.gov.uk/patterns/telephone-numbers/). GOV.UK Design System, n.d..
- [USWDS pattern, Create a user profile: Phone number](https://designsystem.digital.gov/patterns/create-a-user-profile/phone-number/). U.S. Web Design System, GSA, n.d., pattern documentation.
- [Phone number UX: always explain why the phone field is required](https://baymard.com/blog/explain-phone-number-field). Baymard Institute, 2025, qualitative checkout usability testing plus survey and site benchmark (from existing record).
- [Checkout experience: don't require seemingly unnecessary information](https://baymard.com/blog/checkout-experience-seemingly-unnecessary-information). Baymard Institute, 2012, checkout usability testing plus benchmark of checkout flows.
- [Falsehoods Programmers Believe About Phone Numbers](https://chromium.googlesource.com/external/libphonenumber/+/refs/heads/java7_java8/FALSEHOODS.md). Google libphonenumber project (FALSEHOODS.md in repository), n.d., expert opinion (maintainer-authored list of numbered falsehoods).
- Address form best practices codelab. n.d..
- [Autofill (Learn Forms)](https://web.dev/learn/forms/autofill). web.dev (Google), 2021, expert opinion (platform vendor guidance).
- [Census Bureau experiment: phone format (benefit messages study)](https://census.gov/content/dam/Census/library/working-papers/2017/adrm/rsm2017-02.pdf). Nichols et al., US Census Bureau, 2017.
- [Understanding SC 3.3.2 Labels or Instructions](https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions.html). W3C WAI, n.d., normative standard (Understanding document).
- wcag22-1.3.5. n.d..
- [HTML Standard, autofill field names for telephone numbers](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill). WHATWG, n.d., normative standard (living).
- [HTML Standard, Telephone state (type=tel)](https://html.spec.whatwg.org/multipage/input.html#telephone-state-(type=tel)). WHATWG, n.d., normative standard (living).
- Build an address form that follows best practice. n.d..
- [Input Tel (usage)](https://designsystem.porsche.com/v4/components/input-tel/usage/). Porsche Design System, n.d., component documentation.
- [Website forms usability: top 10 recommendations](https://www.nngroup.com/articles/web-form-design/). Nielsen Norman Group, n.d., expert guidance with some cited research.
- [Input masking for restricted form fields (phone, date, card)](https://baymard.com/blog/input-masking-form-field). Edward Scott, Baymard Institute, 2017.
- [Phone Input guidelines (Catnip)](https://catnip.signicat.com/components/input-phone/guidelines.html). Signicat Catnip design system, n.d., component documentation.
- [Phone field (customer account UI extensions, web components)](https://shopify.dev/docs/api/customer-account-ui-extensions/2026-04/web-components/forms/phone-field). Shopify (Polaris web components), 2026, component documentation.
- [Bad practices on phone number form fields](https://uxmovement.com/forms/bad-practices-on-phone-number-form-fields/). Anthony, UX Movement, 2018, expert opinion.
- [USWDS input mask component](https://designsystem.digital.gov/components/input-mask/). U.S. Web Design System, GSA, n.d..
- [Phone number (Jutro 10.13)](https://docs.guidewire.com/jutro/documentation/10.13/phone-number). Guidewire Jutro design system, n.d., component documentation.
- [Contact number pattern](https://designsystem.gov.ae/docs/patterns/contact-number). UAE Design System (designsystem.gov.ae), 2026, component documentation.
- [International phone number input pattern](https://saltdesignsystem.com/salt/patterns/international-phone-number-input). Salt Design System (J.P. Morgan Chase & Co.), 2026, component documentation.
- [Phone input](https://design-system.wander.com/docs/components/phone-input). Wander design system, n.d., component documentation.
- [Phone Number Field](https://designsystem.dubai.ae/components/phone-number-field). Dubai Design System (Government of Dubai), n.d., component documentation.

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
