Form inputs use appropriate types for mobile keyboards
Why it matters
An email field with type="text" gives mobile users the default alphabetic keyboard with no @ key and no autocomplete hint to the browser. Phone fields with type="text" force the user to hunt for numeric keys on a letter keyboard. Beyond typing friction, the wrong input type blocks browser-native validation, autofill, and password manager integrations. Correct input types are a two-character change that materially improves mobile form completion rates.
Severity rationale
Medium because wrong input types add friction to every form submission on mobile, reducing conversion across sign-up and checkout.
Remediation
Set type to match the data: email, tel, number, url. When formatting constraints rule out type="number" (e.g., credit card with spaces), use type="text" inputmode="numeric" pattern="[0-9]*" to get the numeric keyboard without losing the formatting control.
<input type="email" />
<input type="tel" />
<input type="text" inputmode="numeric" pattern="[0-9]*" />
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Mobile Responsiveness Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
Taxons
History
- 2026-04-18·v1.0.0·Initial import from mobile-responsiveness·automated