Web HIG tip: use input types and autocomplete attributes so browsers can help users
A web design guideline advises developers to tell browsers what each form field is for. Using semantic input types such as email, tel, and url brings up suitable keyboards on phones, reducing manual typing. Autocomplete tokens let browsers offer saved names, addresses, or card details with a single tap. Password managers rely on current-password and new-password attributes to fill or generate passwords correctly. The guidance also notes that this benefits people with motor or cognitive disabilities and users on small screens, and links it to WCAG 2.2 criterion 1.3.5.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in