Text input for an email/phone/url/password field
Why it matters
The wrong type gives the wrong mobile keyboard and weaker validation and autofill.
Fix
Use type="email", "tel", "url" or "password".
Credit
From MDN Web Docs
Documents the HTML input types that bring the right mobile keyboard, validation and autofill.
References
- <input> HTML input elementMDN Web Docs
- autocomplete HTML attributeMDN Web Docs
- Autofillweb.dev