Skip to main content
HTML Validation

Bad value “telephone” for attribute “autocomplete” on element “input”: The string “telephone” is not a valid autofill field name.

About This HTML Issue

The autocomplete attribute does not accept "telephone" as a valid value — the correct value is "tel".

The autocomplete attribute helps browsers autofill form fields with previously saved user data. Each field type has a specific token defined in the HTML specification. For phone numbers, the valid token is "tel", not "telephone". Other related tokens include "tel-country-code", "tel-area-code", "tel-local", and "tel-extension" for more granular phone number parts.

Using the correct token ensures that browsers can properly suggest stored phone numbers to users, improving the form-filling experience.

Invalid Example

<label for="phone">Phone number</label>
<input type="tel" id="phone" name="phone" autocomplete="telephone">

Valid Example

<label for="phone">Phone number</label>
<input type="tel" id="phone" name="phone" autocomplete="tel">

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Help us improve our guides

Was this guide helpful?
🌍 Trusted by teams worldwide

Validate at scale.
Ship accessible websites, faster.

Automated HTML & accessibility validation for large sites. Check thousands of pages against WCAG guidelines and W3C standards in minutes, not days.

Scheduled Reports
API Access
Open Source Standards
$7 / 7 days

Pro Trial

Full Pro access. Cancel anytime.

Start Pro Trial →

Join teams across 40+ countries