Menu

1 / 2

Check the autocomplete attribute on your signup form: a one-minute test

DEV Community: html·Kai Mercer·about 23 hours ago
#MIpSw87F
#devto2#devto#dev#autocomplete#fields
Reading 0:00
15s threshold

A signup form that blocks autofill makes people retype their name, email and address every time. For some users that is annoying. For others it is a real barrier. It takes a minute to check.

The check

View the page source and look at each <input> that collects personal data.

<input type= "email" name= "email" id= "email" autocomplete= "email" > <input type= "text" name= "fname" id= "fname" autocomplete= "given-name" >

Enter fullscreen mode

Exit fullscreen mode

Look for two things: a missing autocomplete , and autocomplete="off" on fields like name and email.

What the standards say

The W3C's Understanding page for WCAG 1.3.5, Identify Input Purpose, says the purpose of a form input collecting information about the user must be programmatically determinable.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.