Mobile-friendly form inputs
type: TechArticle
description: On a phone, the right input type, inputmode, and enterkeyhint summon the correct on-screen keyboard and a useful Enter key. Keep input text at 16px or larger so iOS Safari doesn't zoom on focus.
language: en
is part of: Web Specification Studio
author: Web Specification Studio
publisher: Web Specification Studio
license: https://creativecommons.org/licenses/by/4.0/
date modified: 2026-06-08T00:00:00.000Z
citation: HTML Living Standard — The inputmode attribute
  type: CreativeWork
  publisher: WHATWG
citation: HTML Living Standard — The enterkeyhint attribute
  type: CreativeWork
  publisher: WHATWG
citation: MDN — : types
  type: CreativeWork
  publisher: MDN
citation: MDN — text-size-adjust
  type: CreativeWork
  publisher: MDN

Web Specification Studio
type: WebSite

Web Specification Studio
type: Organization

breadcrumb
type: BreadcrumbList
item list element: Home
  type: ListItem
  position: 1
  item: https://webspecification.com/
item list element: Spec
  type: ListItem
  position: 2
  item: https://webspecification.com/spec/
item list element: Accessibility
  type: ListItem
  position: 3
  item: https://webspecification.com/spec/accessibility/
item list element: Mobile-friendly form inputs
  type: ListItem
  position: 4
  item: https://webspecification.com/spec/accessibility/mobile-form-inputs/