5 of 15
Declare what each field expects
Declare the input type, keyboard layout, and autocomplete purpose so the browser can offer the right keys and saved answers. Turn off spellcheck and automatic capitalization for identifiers such as emails, usernames, and codes.
DoEmail keyboard · saved address suggested
Don’tPlain keyboard · capitalizes Maya@
Before you ship
- On a phone with a saved autofill address, tap Work email, check for @ and the saved address, then type maya@. Does the name stay lowercase?
- Does the sign-in field declare the purpose the browser’s credential manager expects?
- If you enter 012345 in a numeric code field, does the first zero reach the form submission?