What AuditX checks
The scan reads the forms on the page you scanned, up to the first 20 forms, using the desktop view and falling back to the phone view only when the desktop view shows no forms. A field counts as a phone field when its type is tel or when its name, id, autocomplete value, placeholder or aria-label contains one of the whole words phone, mobile, telephone, tel or telefoon. Underscores and hyphens count as spaces, so phone_number matches and hotel does not. A field counts as an email field when its type is email or when those same attributes contain the whole word email, e-mail or e mail, so voicemail does not match. Fields that are not typed into are skipped: radio buttons, checkboxes, selects, hidden fields, buttons, file, image, range, colour and date or time types. A phone field is fine when its type is tel or its inputmode is tel or numeric. An email field is fine when its type is email or its inputmode is email. The check passes when every phone and email field is fine. It warns when at least one is not, and the message names up to 3 fields of each kind. It never fails. It is an info note, which does not lower the score, when the browser could not open the page, when no forms were found, or when no field looks like a phone or email field. A field with type number or type text and no inputmode counts as a mismatch. The scan does not look at autocomplete values, validation, or any form that appears only after a click.
Why it matters
MDN explains that input type tel makes mobile browsers show a special keyboard for entering phone numbers, and that inputmode lets a browser show a matching virtual keyboard.
web.dev advises using type email to give mobile users an appropriate keyboard, and type tel for telephone numbers. A visitor who gets the wrong keyboard has to switch layouts to type an at sign or digits.
How to fix it
- Find each phone field in the report and set type="tel" on it. If your styling or validation needs type text, add inputmode="tel" instead.
- Set type="email" on each email field. If you must keep type text, add inputmode="email".
- Do not use type="number" for phone numbers. It adds increment arrows and is meant for numbers that are counted, not for IDs or phone numbers.
- Open the form on a real phone and tap each field to check that the keyboard looks right.
<input type="tel" name="phone" autocomplete="tel">
<input type="email" name="email" autocomplete="email">
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my site