Input modes and on-screen keyboards

The wrong on-screen keyboard makes people hunt for keys in every field.

Entering an amount on a phone. A field that brings up the letter keyboard makes the person switch to numbers and hunt for keys. A field that asks for a number pad with a decimal point shows the right keys at once.

The answer

Show the keyboard that matches each field, but accept the same input whatever keyboard appears. As strong as the weakest rule behind it: moderate.

The other rules

  • Don’t show a digits-only keyboard where people may need a minus sign, letters or punctuation.
  • Turn off auto-capitals and autocorrect for names, emails, codes and addresses.
  • Label the Enter key with what it does, and make the form behave the same whatever label shows.
  • When the keyboard covers part of the page, let the browser scroll the field into view, keep the next action close, and don’t let fixed bars cover the focused field.

Accessibility

Open questions

  • OpenDoes the keyboard hint change speed or errors on the web? No experiment found.
  • OpenNext and done key labels: no evidence.
  • OpenKeyboards covering the submit control: nothing found.
Checked November 12, 2026

Sources