Sign In Form Best Practice Flashcards
Why use a plain form element for a sign-in page?
A form tag makes the form more accessible and enables standardized handling for forms across platforms.
Using a __ element instead of JavaScript to handle sign in allows the form to work even if JavaScript fail.s
Using a FORM element instead of JavaScript to handle sign in allows the form to work even if JavaScript fail.s
Do not use ___ as a replacement for input labels.
Do not use PLACEHOLDERS as a replacement for input labels.
Requiring users to enter passwords or emails twice can increase ___.
Requiring users to enter passwords or emails twice can increase abandonment.
Allows users to _____ emails instead of requiring the user to enter the email twice.
Allows users to confirm emails instead of requiring the user to enter the email twice.
Make it easy for users to _____ passwords instead of requiring users to enter a password twice.
Make it easy for users to reset passwords instead of requiring users to enter a password twice.
Button text should _____.
Button text should say what the button does.
Include prompts telling users what is wrong if the form _____ or _____.
Include prompts telling users what is wrong if the form isn’t filled out correctly or missing a required field.
Use padding of __ to __ px in inputs.
Use padding of 10 to 15 px in inputs.
Add _____ of margin between inputs to make it easy to use on touch devices.
Add about a finger width of margin between inputs to make it easy to use on touch devices.
Design inputs and buttons for _____ as this is often how users interact with a touch device.
Design inputs and buttons for thumbs as this is often how users interact with a touch device.
Make text big. Around _____ on desktop to _____ for mobile. Lighthouse can be used to address font sizing.
Make text big. Around 16px on desktop to 24px for mobile. Lighthouse can be used to address font sizing.
Use _____ css selector to style invalid input.
Use :invalid css selector to style invalid input.
Use email and password input _____.
Use email and password input types.
Don’t use _____ input type for data like telephone numbers.
Don’t use number input type for data like telephone numbers.