Sign In Form Best Practice Flashcards

1
Q

Why use a plain form element for a sign-in page?

A

A form tag makes the form more accessible and enables standardized handling for forms across platforms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Using a __ element instead of JavaScript to handle sign in allows the form to work even if JavaScript fail.s

A

Using a FORM element instead of JavaScript to handle sign in allows the form to work even if JavaScript fail.s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Do not use ___ as a replacement for input labels.

A

Do not use PLACEHOLDERS as a replacement for input labels.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Requiring users to enter passwords or emails twice can increase ___.

A

Requiring users to enter passwords or emails twice can increase abandonment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Allows users to _____ emails instead of requiring the user to enter the email twice.

A

Allows users to confirm emails instead of requiring the user to enter the email twice.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Make it easy for users to _____ passwords instead of requiring users to enter a password twice.

A

Make it easy for users to reset passwords instead of requiring users to enter a password twice.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Button text should _____.

A

Button text should say what the button does.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Include prompts telling users what is wrong if the form _____ or _____.

A

Include prompts telling users what is wrong if the form isn’t filled out correctly or missing a required field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Use padding of __ to __ px in inputs.

A

Use padding of 10 to 15 px in inputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Add _____ of margin between inputs to make it easy to use on touch devices.

A

Add about a finger width of margin between inputs to make it easy to use on touch devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Design inputs and buttons for _____ as this is often how users interact with a touch device.

A

Design inputs and buttons for thumbs as this is often how users interact with a touch device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Make text big. Around _____ on desktop to _____ for mobile. Lighthouse can be used to address font sizing.

A

Make text big. Around 16px on desktop to 24px for mobile. Lighthouse can be used to address font sizing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Use _____ css selector to style invalid input.

A

Use :invalid css selector to style invalid input.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Use email and password input _____.

A

Use email and password input types.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Don’t use _____ input type for data like telephone numbers.

A

Don’t use number input type for data like telephone numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Consider asking for email and password _____ so that users have only one thing to do in a given stage of signing in.

A

Consider asking for email and password as two separate steps so that users have only one thing to do in a given stage of signing in.

17
Q

Use _____ as the value of the name attribute for the password input of a sign in form.

A

Use current-password as the value of the name attribute for the password input of a sign in form.

18
Q

Use _____ as the value of the name attribute for the password input of a sign up form.

A

Use new-password as the value of the name attribute for the password input of a sign up form.

19
Q

The input _____ attribute allows browsers to enable auto-complete features on the input.

A

The input name attribute allows browsers to enable auto-complete features on the input.

20
Q

Some browsers require using an _____ attribute to enable autocomplete support.

A

Some browsers require using an autocomplete attribute to enable autocomplete support.

21
Q

Add _____ attribute to require email and password fields.

A

Add required attribute to require email and password fields.

22
Q

Add a _____ icon to the password input using JavaScript.

A

Add a show password icon to the password input using JavaScript.

23
Q

Include _____ on the show password icon to warn that clicking will reveal the password on the screen.

A

Include aria-label on the show password icon to warn that clicking will reveal the password on the screen.

24
Q

Use _____ attribute on the password input to explain password requirements.

A

Use aria-describedby attribute on the password input to explain password requirements.

25
Q

Use _____ for more robust client side validation as users complete the form.

A

Use JavaScript for more robust client side validation as users complete the form.

26
Q

Use _____ and set _____ to learn and improve performance of sign in forms.

A

Use analytics and set goals to learn and improve performance of sign in forms.

27
Q

Don’t make users _____ for sign in to reduce abandonment.

A

Don’t make users hunt for sign in to reduce abandonment.

28
Q

_____ complexity to reduce abandonment.

A

Minimize complexity to reduce abandonment.

29
Q

Allow users to use a _____ instead of email to reduce abandonment. Sometimes user don’t wish to share email.

A

Allow users to use a phone number instead of email to reduce abandonment. Sometimes user don’t wish to share email.

30
Q

Keep branding and style consistent with the rest of the web site to _____.

A

Keep branding and style consistent with the rest of the web site to reduce abandonment.