A library for everyone - Designing for Digital, Austin 2017
All of the tools and principles of an excellent user experience also support accessibility, just as web design that is responsive to diversity of devices is also responsive to a diversity of human needs.
1. 1
Accessibility basics:
A library for everyone
Whitney Quesenbery
Center for Civic Design
@awebforeveryone | @whitneyq | @civicdesign
Designing for Digital 2017
3. 3
Make digital library services for everyone
Starting from principles
ā¢ Accessible UX
ā¢ People first
Building blocks of accessibility
ā¢ Structure
ā¢ Plain language
ā¢ Tables and forms
ā¢ Images and media
Laws and other regulations
ā¢ ADA, Section 508, CVAA
ā¢ UN Convention
Making it happen
ā¢ Creating a process
6. Disability
the outcome of the interaction
between a person ... and the
environment and attitudinal barriers
they may face
International Classification of Functioning (ICF),
World Health Organization
7. Usability
The effectiveness, efficiency and
satisfaction with which a specified
set of users can achieve a
specified set of tasks in a particular
environment.
ISO 9241-11
8. Accessibility
The usability of a product,
service, environment or facility
by people with the widest range
of capabilities.
ISO 9241-20
9. Plain language means users can
find what they need
understand what they find
use the information
to meet their goals
This definition was written by Ginny Redish and adopted by international plain language
organizations
10. Many barriers to cognitive accessibility
are the same as usability problems for
general audienceā¦but more severe.
- Clayton Lewis
15. 15
People First
Designing for differences
People are the first consideration, and sites are designed with the
needs of everyone in the audience in mind.
15
Steven
ā¢ Graduated from the Art
Institute
ā¢ Graphic artist in a small
ad agency
ā¢ iPad, iPhone, MacBook
Pro, super monitor
Jacob
ā¢ College graduate,
legal training courses
ā¢ Paralegal, writes case
summaries
ā¢ Shares an apartment
with a friend
ā¢ Laptop, iPhone
Emily
ā¢ Graduated from high
school and working on
a college degree
ā¢ Lives in a loft with a
group of friends
ā¢ Works part-time at a
local community center
17. 17
I like consistent, familiar
places on the web
Ability: Autism Spectrum Disorder.
Uses larger text and a program that hides
everything but the text, so he doesnāt get
distracted
Aptitude: Uses the computer well for
games, but doesnāt learn new sites easily
Attitude: Prefers familiar sites in an
established routine
Assistive Technology: Text preference
settings, power keyboard user.
Trevor
ā¢ 18 years old
ā¢ Lives with family
ā¢ Goes to secondary
school
ā¢ Computers at school;
laptop at home; basic
mobile phone with
SMS
18. 18
Emily
I want to do everything
for myself
Ability: Cerebral palsy. Difficult to use
hands and has some difficulty speaking
clearly; uses a motorized wheel chair
Aptitude: Uses the computer well, with the
right input device; good at finding efficient
search terms
Attitude: Wants to do everything for
herself; can be impatient
Assistive Technology: Communicator
(AAC) with speech generator, iPad, power
wheelchair
ā¢ 24 years old
ā¢ Graduated from high
school and working on a
college degree
ā¢ Lives in an independent
living facility
ā¢ Works part-time at a
local community center
19. 19
Jacob
The right technology
lets me do anything.
Ability: Blind since birth with
some light perception
Aptitude: Skilled technology user
Attitude: Digital native, early
adopter, persists until he gets it
Assistive Technology: Screen
reader, audio note-taker, Braille
display
ā¢ 32 years old
ā¢ College graduate, legal
training courses
ā¢ Shares an apartment with a
friend
ā¢ Paralegal, reviews cases and
writes case summaries
ā¢ Laptop, braille display, iPhone
20. 20
Lea
No one gets that this
really is a disability.
Ability: Fatigue from fibromyalgia,
trackball, and special keyboard
Aptitude: Average user
Attitude: Wishes people would
understand how hard it can be for
her to make it through the day
Assistive Technology: Split
keyboard, power keyboard user,
Dragon Naturally Speaking
ā¢ 35 years old
ā¢ Masters degree
ā¢ Writes for a trade
publication; works
from home
21. 21
Steven
My only disability is that
everyone doesn't sign.
Ability: Native language is ASL; can
speak and read lips; uses SMS/IM,
Skype, and video chat
Aptitude: Good with graphic tools, and
prefers visuals to text; poor spelling
makes searching more difficult
Attitude: Can be annoyed about
accessibility, like lack of captions
Assistive Technology: Sign language,
CART, captions, video chat
ā¢ 38 years old
ā¢ Art school
ā¢ Graphic artist in a small
ad agency
ā¢ iPad, iPhone, MacBook
Pro; good computer at
work
22. 22
Vishnu
I want to be on the same
level as everyone else.
Ability: Speaks three languages:
Gujarati, Hindi, English, and a little
spoken Mandarin. Uses contrast
adjustment to see the screen clearly
Aptitude: Expert user of technical tools;
frustrated searching across languages
Attitude: Sees himself as a world
citizen, and wants to be able to use any
site
Assistive Technology: Contrast
adjustments, screen magnification,
personalized stylesheets
ā¢ 48 years old
ā¢ Engineering degree
ā¢ Works for a medical software
company on intāl projects
ā¢ Born in India, graduate school
in Malaysia, lives in Singapore
ā¢ High tech all the way at work;
two mobile phones and a
personal laptop
23. 23
Maria
I love this. It's all here...when
I can find it.
Ability: Prefers Spanish language sites,
when she can find them; needs
information and instructions written clearly
Aptitude: Adventurous, but not very
proficient; husband and daughter set up
bookmarks for her
Attitude: Thinks itās wonderful to be able
to have her favorite websites with her at all
times
Assistive Technology: Skype, online
translation sites
ā¢ 49 years old
ā¢ Community college +
healthcare certificate
ā¢ Married, grown children
ā¢ Spanish ā English bilingual
ā¢ Community health worker
ā¢ Smartphone from her phone
service, computer primarily
her husbandās, for his work
24. 24
Carol
My grandkids are dragging me
into the world of technology.
Ability: First signs of macular
degeneration, mild arthritis; hearing aid; no
special AT on computer
Aptitude: Used computers when she
worked as a bookkeeper, but now her
grandkids keep her old home computer
updated
Attitude: Willing, but not adventurous
Assistive Technology: Enlarges text, but
makes few other adjustments
ā¢ 74 years old
ā¢ Husband passed a year ago
ā¢ Lives in an apartment near
one of her daughters, and her
six grandkids (ages 6 to 16)
ā¢ Retired; worked 25 years as a
bookkeeper
ā¢ Older computer at home;
basic mobile phone
25. Get to know the personas
In groups of 4
Each choose a persona and introduce yourself:
What are your top needs and goals?
What barriers do you face?
Group input:
What can you add to understanding the personas?
How can we design to help them succeed?
28. 28
Solid structure starts with design
Design structure
ā¢ Clear layout design that
supports users through the
interaction or information
ā¢ Standards-based markup
ā¢ Design for linearization and
responsiveness
Code structure
ā¢ Standards-based markup
ā¢ HTML5 layout elements
ā¢ ARIA roles (used wisely)
You donāt have to know how to code, but you need to understand
how a web page or app is structured to design it well
29. 29
Solid structure: Built to standards
Which one is accessible?
A big hat tip to @AccessibleJoe and all the folks working on making WordPress more
accessible, and to Sylvia Eggers, original author of the accessible child theme shown here.
33. 33
Identify the areas of
a page visually and
in code
A clean presentation
is easier to navigate ā
for everyone.
role = banner
role = main
role = contentinfo
role =
complementary
role = form
role =
navigation
role = navigation
role = search
36. Identify the content structures and
what order they go in
Menus
Text
Headings
Containers
Lists
Images
Forms
Links
http://www.open.ac.uk/library/
37. 37
Use tables (only) for tabular data
Donāt use tables for layout
ļ§ Use row and column
headings (coded correctly)
ļ§ Check that the table will
be intelligible if linearized.
ļ§ Do use āzebra stripesā
Two articles on zebra striping
http://alistapart.com/article/zebrastripingdoesithelp
http://alistapart.com/article/zebrastripingmoredataforthecase
38. 38
Use headings correctly
The basics
One <H1> per page
The controversies
ā¢ Heading order
ā¢ Empty headings
ā¢ An <H1> in every <div>
ā¢ Headings that should really be
a link or paragraph style
<H1>The visible title of the page</H1>
<H2>A major section of the page</H2>
<H3>A subheading</H3>
<H3>A subheading</H3>
<H3>A subheading</H3>
<H2>A major section of the page</H2>
<H3>A subheading</H3>
<H3>A subheading</H3>
40. 40
Easy interaction requires correct code
Designing interaction
ā¢ Start with a layout in a logical
order
ā¢ Design the flow of on-page
interaction so they work for
linear interaction
Coding interaction
ā¢ Use semantic elements in
HTML correctly
ā¢ Donāt rely on visual layout for
meaning
ā¢ Change the appearance with
CSS
An easy quick check for interaction: can you navigate the entire
page, app, or site only using a keyboard?
41. 41
Buttons and links
Links are for navigation
To a new page
To a new view
To a different URL
To a place on a page
Buttons are for actions
Submit form data to a server
Reset a form
Open a window
Trigger a popup menu
Play media content
Both links and buttons can be styled with CSS, but for assistive
technology to understand them, they must be coded correctly
42. 42
Elements of a form
Field
Label
Prompt
Validation
Errors
Submit button
43. 43
Every form field needs a label
Visible labels on the screen
Labels in code for screen readers
Date of birth
<form>
<label for="dob">Date of birth</label>
<input type="text" id="dob" />
.....
</form>
44. 44
Every field needs a label
(not inside the field)
<form>
<label for="monthField">Month</label>
<input type="text" id="monthField" />
<label for="dayField">Day</label>
<input type="text" id="dayField" />
<label for="yearField">Year</label>
<input type="text" id="yearField" />
</form>
Date of birth
Month Day Year
Date of birth
Month Day Year
45. 45
Put warnings and prompts in the right order
Before the action or field, not after it!
What is your date of birth?
Month Day Year
For example: 12 28 1970
What is your date of birth?
Month Day Year
For example: 12 28 1970
See Caroline Jarrett's articles on forms and her discussion of the
placement of prompts at Forms That Work
46. 46
Put error messages where they can be found
If the entry is checked as it is
entered, the message can go after
the field.
Otherwise, it should go before the
field.
If the page refreshes, messages
go at the top of the page.
50. 51
WCAG 2.0 Guidelines for content accessibility
Text content
Level A and AA
2.4.4 & 2.4.9 Link Purpose:
2.4.6 & 2.4.10 Headings &Labels:
3.1.3 Unusual Words
Images
Level A
1.1 Text Alternatives:
1.4.1 Use of Color
1.3.3 Sensory Characteristics
1.1.1 & 1.4.9 Non-text Content
52. 53
Use simple, everyday words
Description Of Service
The Site is an online community which enables photographers and graphic
artists to post photographs and images, share comments, opinions and
ideas, promote their work, participate in contests and promotions, and
access and/or purchase services from time to time made available on the
Site (āServicesā). Services include, but are not limited to, any service and/or
content 500px makes available to or performs for you, as well as the
offering of any materials displayed, transmitted or performed on the Site or
through the Services. Content (āContentā) includes, but is not limited to
text, user comments, messages, information, data, graphics, news articles,
photographs, images, illustrations, and software.
54. 55
Help readers orient themselves
(on the site, on the page, in the right order
1. Page title
2. Shortest possible
answer
3. Good headings
4. Bullets for key points
5. Good captions
55. 56
Put warnings and prompts in the right order
Requirements, prompts, warnings, notes and anything
else that someone needs to complete an action
correctly must come before the action, field or
instruction, not after it!
57. 58
Images and media: Appeal to all senses
People can understand and use information
contained in media, such as images, audio, video,
animation, and presentations.
ā¢ Duplicating cues (color + shape)
ā¢ Content replacement (audio + captions)
58. 59
Color
The simplest rule:
Do not communicate meaning
only with color.
Color, shape, text all work
together to communicate
meaning.
59. 60
Color
Make sure there is enough contrast
between text (or icons) and the
background.
There are tools for that!
ā¢ contrast-finder.tanagurconu.com
ā¢ colorsafe.co/
ā¢ webaim.org/resources/contrastchecker
lighthouse.org
60. 61
Animations and video
Transcripts for all audio
Synchronized captions for video
Audio (or visual) descriptions for action
And, make sure the media player is accessible
62. 63
Images
Whatās the right ALT
text for this image?
Fox
Red fox
A red fox, standing on a pile of
rocks, looking back at the camera
Red fox at Sachuest Point National
Wildlife Refuge
It depends on context!
63. 64
Get the basics right
Repeat the text in
the image.
Alt text: āWebcast.
Applying 21st Century
Toxicology to Green
Chemical and Material
Design. September 20-
21, 2011ā
Identify the link target
Alt text:
āUXPA group on Facebookā
"@UXPA_Int on Twitter"
"UXPA's LinkedIN profile"
Donāt create noise
Alt text: āā
Include both image and
text in one link
64. 65
Don't hide meaningful images
Is a profile
photo part of
the content?
<img alt="Photo of Caroline">
or
<img alt="Caroline Jarrett">
65. 66
On the HTML5 standards horizon:
<figure> and <figcaption>
Keeps the image, alt text, and caption together
<figure><img src="castle-
painting.jpg" alt="The castle
now has two towers and two
walls.">
<figcaption>Oil-based paint
on canvas. Eloisa Faulkner,
1756.</figcaption></figure>
Example from: http://rawgit.com/w3c/alt-techniques/master/index.html#m6
66. 67
Make captions and alt text work together
The caption:
āFigure 1: The ABC of research methodsā
The alt text:
āABC diagram.ā
or
"ABC diagram sketched on a
chalkboard.ā
or
āA diagram sketched on a chalkboard as
a triangle. Top: Attitude. Right: Behavior.
Left: Comprehension.
67. 68
Don't hide information in the alt text
Caption: Red fox, credit: John & Karen
Hollingsworth
Alt text: Red Fox as Sachuest Point NWR.
Credit J and K Hollingsworth
68. 69
When the information
is in a chart...
Add a data table
The alt text:
"Bar chart of data in table below"
http://www.careerinfonet.org/finaidadvisor/earnings.aspx?nodeid=21
70. 72
Americans with Disabilities Act
The ADA is one of America's most comprehensive pieces of civil rights
legislation that prohibits discrimination and guarantees that people
with disabilities have the same opportunities as everyone else to
participate in the mainstream of American life -- to enjoy employment
opportunities, to purchase goods and services, and to participate in
State and local government programs and services.
First passed in 1990
https://www.ada.gov/ada_intro.htm
71. 73
UN Convention on the
Rights of Persons with Disabilities
Adopted in 2006
https://www.un.org/development/desa/disabilities/convention-on-the-
rights-of-persons-with-disabilities.html
72. 74
Section 508
Section 508 covers all electronic and information technology used by
the Federal government that agencies develop, procure, maintain, or
use. Agencies must ensure that it is accessible to employees and
public.
First passed in 2001
Updated in 2017
https://www.section508.gov/
73. 75
WAI Web Content Accessibility Guidelines 2.0
The WCAG documents explain how to make web content more
accessible to people with disabilities. Web "content" generally refers
to the information in a web page or web application
1.0 published in 1999
2.0 published in 2008
Work on 2.1 begun in 2017
https://www.w3.org/WAI/intro/wcag
74. 76
Accessible UX ļ ļ WCAG 2.0
On the A Web for Everyone book site, you can find resources
including a list of the accessible UX principles and a table that cross-
references the principles to guidelines and checkpoints in WCAG 2.0
http://rosenfeldmedia.com/books/a-web-for-everyone/#resources
76. 78
Work with clear purpose
People enjoy products that are designed for the
audience and guided by a defined purpose and
goals.
ā¢ Design for clarity and simplicity.
ā¢ Think āaccessibility first.ā
ā¢ Choose an accessibility strategy.
77. 79
Start from a solid structure
People feel confident using the design because it
is stable, robust, and secure.
ā¢ Start from accessible templates
ā¢ Code to standards.
ā¢ Use standard web technologies
79. 81
Accessibility testing in layers
Principle Testing mode What it tests
Perceivable Inspection Basic accessibility errors
Robust Code review Use of code standards
Semantic structure
Operable Check using AT
Expert review
Interaction using keyboard,
screen reader, other AT
Operable/
Understandable
Usability testing Use by real people
80. 82
Accessibility is the work of everyone
To make something as simple as a heading...
ā¢ A UX researcher identifies user needs.
ā¢ An information architect suggests keywords.
ā¢ A content strategist plans the tone.
ā¢ A content author writes the text.
ā¢ A web producer tags it as a heading.
ā¢ A visual designer decides on its appearance.
ā¢ A web specialist creates the style.
ā¢ And the tech team makes sure the servers are running.
81. 83
Be a leader
Support an integrated practice:
ā¢ Set policies and develop training.
ā¢ Choose content and development tools that
ā¢ support accessibility.
ā¢ Create a style guide and media library.
ā¢ Include people with disabilities.
ā¢ Make accessibility part of site maintenance.
82. 84
Create an integrated practice
Make accessibility the way you do business.
Assess whatās needed for an integrated practice:
ā¢ Evaluate the current site.
ā¢ Identify ways to allocate resources.
ā¢ Identify opportunities to integrate accessibility into
ā¢ current processes.
ā¢ Assess current knowledge and readiness.
All of the tools and principles of an excellent user experience also support accessibility, just as web design that is responsive to diversity of devices is also responsive to a diversity of human needs.Ā
Today is about basics, not technology, but a way of thinking about how to design with clarity, good signposting of structure and function of info and elements, and building a conversation into the interface.
Social model of disability.
It's the interaction.
That's what we create.
So it make sense that accessibility is part of UX
ISO says so.
ISO says so.
ISO says so.
ISO says so.
20 minutes
Screen readers can navigate using
Anchor links
Headings lists
WAI-ARIA roles
Screen readers can navigate using
Anchor links
Headings lists
WAI-ARIA roles
Linear order and restructuring
Readabiilty ā now Mercury Reader
If everything is a heading, then navigation by headings has no meaning.
Discuss trend to relying on platform. Made possible by standards-based code. Also means that the changes are persistent.
Page zoom vs. text zoom
Display form controls in the same order in HTML as they appear on screen. Do not use CSS to rearrange the form controls. Screen readers narrate forms in the order they appear in the HTML.
3:15
U.S. National Assessment of Adult Literacy http://nces.ed.gov/naal/kf_demographics.asp
Below basic ā only the most simple and concrete reading skills
Basic ā able to manage everyday tasks
Intermediate ā moderately challenging activities like consulting reference material
Proficient ā interpreting text, comparing viewpoints
Below Basic: 14% or 30 million people
Basic: 29% or 63 million people
Intermediate: 44% or 95 million
Proficient: 13% or 28 million
3.1.3 Unusual Words: The site includes definitions of words or phrases used in an unusual or restricted way, including idioms and jargon. (Level AAA)
3.1.4 Abbreviations: The meaning of abbreviations is available. (Level AAA)
Extra benefits for SEO, translation, and people listening in noisy environments
Don't
Big debate on WebAIM about this ā is this just noise, or meaningful.
On UXPA's magazine we went with the first option.
But I believe you should not "null" this image, as it is important to the sense of this profile page.
figcaption will replace or work with alt text
few browsers support it yet
In this case, there is a caption that provides some of the information, but other useful information is hidden in the alt text, and some is duplicated
Throughout the design process.
Photo: blog.metmuseum.com: Alexander McQueen legs, designed for Aimee Mullins
http://blog.metmuseum.org/alexandermcqueen/tag/no-13/
Aimee Mullins: My 12 pairs of legs: http://www.ted.com/talks/aimee_mullins_prosthetic_aesthetics.html