Lectures for the course "Ergonomics applied to the usability of web pages and apps" held at the School of design of Politecnico di milano in the first semester of 2021-2022 academic year
1 of 159
More Related Content
10 form design
1. www.dadda.it roberto@dadda.it Excellence in usability 1nd semester 2020-2021 1
ERGONOMICS APPLIED TO THE DESIGN OF USABLE WEB PAGES AND
APPS
Roberto DADDA and Paolo NEGRI
7. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Definition of a form
The relationship of a form is the relationship between the organization that is asking
the questions and the person who is answering
The conversation of a form comes from the questions that it asks, any other
instructions, and the way the form is arranged into topics.
The appearance of a form is the way that it looks: the arrangement of text, input
areas such as fields and graphics, and the use of color.
YES they are in order of importance!
A form is a web page that has boxes
you can type into.
7
18. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Forms that Work: Designing Web Forms for Usability (Interactive Technologies)
by Caroline Jarrett, Gerry Gaffney
D朝v牒d
et
朝mpr
Philip II of Macedon
382 336 BC
18
20. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Goods form design...
increases
completion
success from 10
to 40% and
completion
success is
business!
20
23. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Our mantra
23
The official ISO 9241-11
definition of usability is: the
extent to which a product can
be used by specified users to
achieve specified goals with
effectiveness, efficiency and
satisfaction in a specified
context of use.
A mantra is usually any repeated word or phrase, but it can also refer more specifically to a word
repeated in meditation. Mantra comes from a Sanskrit word meaning a sacred message or text, charm,
spell, counsel.
24. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Form design goals
q Explain why
q Minimize the pain
q Illuminate a path to
competition, status bar
q Consider the context
q Ensure consistent
communication
q Short & visible
24
31. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Input elements should be organized in
logical groups so that brain can process
the form layout in chunks of related fields.
Not needed variations
are harmful
Use variations if there
are defined and easily
understandable reasons
Use meaningful
groups
http://www.lukew.com/ff/entry.asp?1502
Grouping basic...
31
32. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
A fundamental question:
What user needs to see for
better usage of a form?
If needed repeat data
Eg Balance of bank account in the
page of payments
32
33. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Content grouping
Content relationships
provide a structured way to
organize forms
Grouping provides:
A way to scan required information at hight level
A sense of how informations in the form are related
33
37. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Clearly label section header
User never must loose orientation
Give information about what has been done and
how far we are form the completion of the form
37
39. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Do not exaggerate withgraphical
elements, 15 are too many!
Information consists only of difference that makes difference
39
40. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Grouping golden rules
Use relevant content to
organize forms
Use MINIMUM amount
of visual elements
necessary to
communicate useful
relationship
40
44. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Type of fields
Use the type that
better fits: the
simplest, the one that
shows more
informations in the
specific situation
44
45. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Field length
Make fields long enough
to get the information
needed.
Avoid horizontal
scrolling
Minimize vertical
scrolling in multiline
fields
45
48. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Choose conversational
labels
If instead of using:
Issuing bank
you use
What bank issued you this credit card?
You will have a quicker answer, always!
Who gave you this credit card?
May be is too much!
But do not exagerate!
48
49. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Use user familiar terms,
make a dictionary!
USCIS Form I-140 (Petition for
Alien Worker). This form has
nothing to do with
extraterrestrial life-forms: To
Homeland Security, the word
alien means anyone who is
not a U.S. citizen.
49
50. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Learn from users!
Use familiar words in familiar
way
Use short, affirmative, active
sentences.
Demolish walls of words
Put choices before actions
Use helpful headings
50
52. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
When the data being collected by a form is
unfamiliar or does not fall into easy to
process groups (such as the various parts of
an address), left-justifying input field labels
makes scanning the information required by the
form easier.
Users have to jump from column to
column in order to find the right
association of input field and label
before inputting data.
Westerns are used to left line
reference
Left
52
53. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
An alternative layout, right aligns the input field
labels so the association between input field
and label is clear.
However, the resulting left rag of
the labels may reduce the effectives
of a quick scan to see what
information the form requires.
Right
53
54. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
When the time to complete a form needs to be minimized and the data being collected
is mostly familiar to users (for instance, entering a name, address, and payment
information in a check-out flow), a vertical alignment of labels and input fields is likely to
work best.
Each label and input field is
grouped by vertical proximity
and the consistent alignment of
both input fields and labels
reduces eye movement and
processing time.
Vertical
54
55. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
BOLD labels increase visual
weight and makes easy to
compete with field for user
attention
PATH
55
57. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Eye tracking
Saccade activities
fast movement of an eye, head or other part of
an animal's body or of a device
20属 900属/s 225 ms
http://www.uxmatters.com/mt/archives/2006/07/label-placement-in-forms.php
57
59. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Long saccade between label
and field (500 ms): hight
cognitive load
No fixation over white space,
but longer time
Good perception of field/field
pair
Drop down field is the first eye
catcher for ALL users
59
60. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Number of fixation: half!
Half completion time.
Reduce cognitive load.
Good lateral view of labels
from field with short
saccadic movements (170
ms for expert, 240 ms for
expert)
The non-predictable
starting position of labels is
NOT a problem!
Some recheck, but shorter
60
61. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
The nearest the label, the better is
confirmed!
If the label has a familiar content
there is no fixation.
If label is fixed fixation is very fast:
50 ms.
Quick form completing and
reduced cognitive load.
Bold labels,
doubtful!
61
63. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Two type of extreme users,
real one are somewhere between and attitude changes with situation
Readers These users
carefully read the form.
Rushers These users rush
in and begin completing
fields, reading only when
they think it is necessary.
64
65. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
3 engagement rules
Rule 1: Establish trust. People are more likely to respond to a
question if they trust the organization that asks it and agree
with the purpose for which the information will be used. If they
dont trust you, theyll either drop out of the form or lie to you.
Rule 2: Reduce social costs. Social costs are bad feelings, like
being made to feel inferior or being put at a disadvantage.
Rule 3: Increase rewards. People are more likely to respond if
they perceive that they will get some reward by doing so.
66
66. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Use gestalt principles!
Equilibrium
Good continuation, good figure
and common fate.
Closure Similarity
67
78. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Primary vs secondary actions
Primary actions are actions such as Submit, Continue,
Finish, and Save.
They enable form completion, the most important action on the
form.
Secondary actions are actions such as Cancel, Go back, or
Reset.
Active vs inactive
Active acions may be fired
Inactive actions may NOT be fired in that specific moment
79
79. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Stronger design for most important actions!
Reduce the visual weight of the secondary actions (go back,
cancel)
Not all actions are equal
Visual presentation of actions should match their
importance
80
88. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Tabbing
Consider that some
users will use tab
between fields
Use proper tabindex
markup
Multi-column maybe
dangerous and conflict
with tabbing behavior
89
90. www.dadda.it roberto@dadda.it Excellence in usability 1nd semester 2020-2021 91
For what the king
fundamentally insisted upon
was that his authority should
be respected. He tolerated
no disobedience. He was an
absolute monarch. But,
because he was a very good
man, he made his orders
reasonable. (10.15)
91. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Required or optional?
Indication of required is useful when:
There are a lot of fields, but very few
required
Design to make scanning for required
fields easier
Indication of optional is useful when:
Very few fields are optional
Neither indication is really useful when:
All fields are required
TRY to avoid optional fields!
Associate indicator with label, not with field!
92
95. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Alert signal...
If we too much help is needed most probably we do
need to go back to form design!
96
97. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Helps & Tips
Useful when:
Asking unfamiliar data
Tell why ask for data
User may have doubts about data
There are different possible
interpretations
When user maybe concerned about
security and privacy
When there is a specific way of
inputting, eg comma delimited.
Optional/required
Too many may easily destroy form
usability
98
99. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
If really we need a lot of help let us
consider dynamic solutions
Automatic inline
exposure
User activated
inline exposures
User activated
section exposure
100
100. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Automatic inline
Make help
location
predictable!
Use STRONG
visual elements
to connect help
with field
101
102. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
User activated section exposure
Nice to use
page areas.
Beware popup:
Blockers
Responsive
design
Give to customer the possibility of opening, closing and reducing to less verbose
103
108. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Put a page indication on all pages
For very
complex
forms
consider
numbering
all fields.
Facilitate
connection
with help
desk!
109
109. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Name that form
Tell clearly people why they are filling that
form!
Avoid uncertainties
110
110. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
People may be scared...
when they see
a complex form
without help.
If this is the
situation GIVE A
MESSAGE telling
that you will help
them
111
112. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Path to completion
Completion: primary goal of form!!!
Consider EVERY input carefully
Remove all unnecessary
Enable flexible data input when needed
Provide a CLEAR path
Enable smart default
Show progress and save
Enable partial save whenever possible
113
113. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
How long will be?
So the form needs to be long enough to ask the
relevant questions, to be short enough to
minimize the users effort, and to ask questions
that are appropriate within the context of the
overall relationship
114
124. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Progressive disclosure
Not all users require all options in
different situations
Prioritize user's needs
If possible user initiated
Progressive disclosure provides an
option
Advanced options
Gradual engagement
Strongly depending on
user/situation/action
BE consistent
125
129. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Selection dependent inputs
Show clear relation between
options
Clearly associate trigger with
triggered fields
Manage data loss if trigger is
changed after some data input
Avoid big (out of visible page)
uncontrolled jumps
130
133. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Inline validation assistance
q Provide DIRECT and CONTESTUAL feedback
as data are entered
q Validate input and correlations between inputs
q Suggest valid input
q Suggest corrections
q Help users stay in limits and possible data sets
q Use where errors are more probable
q Disambiguate!
q Communicate limits if any
134
138. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Error handling
Do whatever possible to avoid errors,
but "Shit happens
Provide clear indication and clear
resolutions in fewer possible steps
Top placement - Visual contrast
Provide remedies
Associate field/fields with message
140
139. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Clearly communicate when an error is blocking someone from completing a form.
Error messages are arguably the most important element on a form when present.
Make sure they appear that way!
Display error messages in context so they can be resolved quickly.
Provide actionable remedies that enable people to resolve errors easily.
Top-level error messages should indicate an error has occurred and how it can be
resolved. If multiple errors exist, they should be listed in the top-level message.
If any input fields are responsible for an error, clearly mark them with a double visual
emphasis to ensure they are noticeable.
Visually associate any responsible form elements with a top-level error message to
clearly communicate they need to be resolved in order to continue.
Reserve red text and warning icons for error messages.
Some rules
141
141. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
The red area is NOT the error
one
The thin red line over the gray
windows is not visible
Poor connection between error
modal windows and error
NO SOLUTION proposed
Use visuals in a consistent way
143
143. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Optimal error handling:
ALERT
IDENTIFY
DIRECT
Something wrong!
This is wrong.
Do this to recover.
145
152. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
NEVER...
...cancel data submitted by the
customer if the form has to be
resubmitted!
154
153. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Progress indication
If there is a possibility of long waiting with
frozen systems impression give indication of
progress
Submission
Calculations
Upload / Download
If possible quantitative, otherwise qualitative
Disable actions to avoid double actions
155
156. 1st semester 2021-2022
www.dadda.it roberto@dadda.it
Adaptive forms
This version of
MS Office was
hiding menus
when not
frequently used Make it
REVERSIBLE!
158