SlideShare une entreprise Scribd logo
1  sur  41
Télécharger pour lire hors ligne
Key	Learnings	about	Accessibility	
Kelli	Wise
Website	Accessibility	
The	4	principals	of	website	accessibility		
•  Perceivable	
•  Operable	
•  Understandable		
•  Robust
Perceivable	
•  The	message	should	not	depend	on	the	
presentaAon	
•  InformaAon	should	have	semanAc	structure	
•  Colors,	graphics	and	sounds	should	not	
interfere	with	the	content
Operable	
•  Web	content	should	not	be	mouse	dependent	
•  Users	should	be	able	to	navigate	and	interact	
with	the	content.
Understandable	
•  The	website	should	be	easy	to	understand	for	
all	users,	regardless	of	their	familiarity	with	
technology.		
•  The	website	should	embody	the	KISS	
principles	of	design.		
•  Content	should	be	placed	where	it	is	expected	
•  DirecAons	and	icons	should	be	clear
Robust	
•  The	website	should	work	on	the	devices	and	
technologies	that	users	have		
•  Websites	should	not	be	designed	to	‘look	best	
on’	any	parAcular	device	or	browser	
– This	does	not	mean	that	the	site	is	designed	to	
work	on	very	old	browsers	and	devices,	but	
should	support	a	baseline	and	be	as	future	proof	
as	possible.
Specs	&	Standards	
•  WCAG	(Web	Content	Accessibility	Guidelines)	
2.0	
•  Level	A	is	the	minimum	
•  Level	AA	is	most	common	
•  Level	AAA	is	highest	conformance	
hRps://www.w3.org/TR/WCAG20/
Specs	&	Standards	
•  Government	sites:	
•  SecAon	508	
•  Expected	to	conform	to	WCAG	2.0	Level	AA	
hRps://www.secAon508.gov/content/build/
website-accessibility-improvement
Project	Overview	
•  Client’s	website	was	recently	redesigned	(<	2	
years	ago)	
•  In	that	Ame,	numerous	lawsuits	have	been	
filed	
•  Client	wanted	a	website	that	would	be	
accessible	and	prevent	lawsuits	
•  Determined	that	client	site	would	need	to	
conform	to	WCAG	2.0	Level	AA
TesAng	Done	
•  Budget	did	not	allow	for	3rd	party	verificaAon	
– This	tesAng	starts	at	$5,000	for	small	(5	page)	
staAc	site	
– TesAng	typically	costs	$10-40k
Online	tools	used	
FuncAonal	Accessibility	Tester	
hRps://fae.disability.illinois.edu	
aChecker	
hRps://achecker.ca/checker/index.php	
WEB	Aim	
hRp://wave.webaim.org/	
hRps://webaim.org/resources/contrastchecker/	
Toptal	
hRps://www.toptal.com/designers/colorfilter
IniAal	tesAng	results	-	FAIL	
•  Images	missing	ALT	tags	
•  Heading	nesAng	
•  Use	of	bold	where	a	header	should	be	used	
•  Empty	headings	
•  Empty	links	
•  Link	text	does	not	describe	target	
•  Color	Contrast	problems	with	the	shade	of	green	used	in	
backgrounds	and	buRons	
•  Content	not	properly	located	inside	landmarks	
•  Iframe	elements	require	proper	names	
•  Embedded	pdf	documents	embedding	duplicate	landmark	areas	
•  No	Skip	NavigaAon
Images	missing	ALT	tags	
•  Simple	to	fix	
•  Client	must	be	diligent	in	the	future	
•  ALT	tags	should	describe	the	image.	
– Remember	that	the	descripAon	is	being	read	
aloud	by	someone	who	cannot	see	it	and	should	
convey	what	the	image’s	content	and	purpose	
are.
Heading	NesAng	
•  Headings	should	be	used	as	indicators	of	
secAon	headings	and	subheadings	within	a	
document,	not	as	formadng	elements.	Screen	
readers	in	parAcular	may	just	scan	a	page	for	
appropriate	H1,	H2	and	H3	elements.	
•  Empty	Headings	should	not	be	used	to	provide	
padding	around	elements
Heading	NesAng	
Correct	
•  H2	
–  H3	
•  H2	
•  H2	
–  H3	
•  H4	
Incorrect	
•  H2	
–  H3	
•  H2	
•  H4	
–  H3	
•  H4
Use	of	Headings	
•  Use	of	bold	or	italic	where	a	heading	should	
be	used.	
– Visual	readers	are	able	to	idenAfy	headings	by	
scanning	pages	for	text	of	a	larger	size	or	a	
different	color/font	face.	Blind	users	on	a	screen	
reader	are	not	able	to	see	these	visual	changes,	so	
increasing	the	font	size	is	not	a	sufficient	cue.
Empty	links	
•  Most	commonly	caused	when	
adding	images	
– ARachment	“Link	To”	set	to	
source	file	of	image	
•  Make	sure	ARachment	Display	
Sedngs	set	to	Link	To	None
Link	text	does	not	describe	target	
•  Link	text	should	describe	the	link	target.	
– Instead	of	“Click	Here”,	use	“Click	here	to	read	
more	about	our	services”	
•  Help	your	users	understand	where	the	link	will	
take	them	or	what	acAon	will	occur.
Iframe	elements	require	proper	names	
•  Add	a	Atle=“describe	what’s	in	the	iframe”	to	
the	iframe	opening	tag	
<iframe src="https://www.google.com/maps/
embed?pb= ..." frameborder="0" style="border:
0" allowfullscreen="" title=”Our location
Google Map"></iframe>
Color	Contrast	
•  All	images	and	graphics	used	on	the	site	
should	have	enough	contrast	between	
foreground	and	background	elements	for	both	
low	vision	and	colorblind	visitors.		
	
hRps://webaim.org/resources/contrastchecker/	
	
hRps://www.toptal.com/designers/colorfilter
DOM	Errors
DOM	Errors	
•  Content	not	properly	located	inside	landmarks	
•  Embedded	pdf	documents	embedding	
duplicate	landmark	areas	
•  No	Skip	NavigaAon	
These	require	modifica<ons	to	theme	files
IniAal	Fix	
•  Enable	Genesis	Accessibility	features	
– Adds	Skip	Nav,	proper	labeling	of	Search	form,	
and	more		
•  Requires	ediAng	of	funcAons.php	and	style.css
funcAons.php	
//* Enable Genesis Accessibility Components
add_theme_support( 'genesis-accessibility',
array( '404-page', 'drop-down-menu', 'headings',
'rems', 'search-form', 'skip-links' ) );
style.css	
/* ## Accessible Menu
--------------------------------------------- */
.menu .menu-item:focus {
position: static;
}
.menu .menu-item > a:focus + ul.sub-menu,
.menu .menu-item.sfHover > ul.sub-menu {
left: auto;
opacity: 1;
}
style.css	
/* ## Focus Items
--------------------------------------------- */
a:focus {
border:#8888ff solid 2px!important;
}
button:focus {
background-color:#3AA8A8;
}
style.css	
/* ## Screen reader text
--------------------------------------------- */
.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
position: absolute !important;
clip: rect(0, 0, 0, 0);
height: 1px;
width: 1px;
border: 0;
overflow: hidden;
}
style.css	
.screen-reader-text:focus,
.screen-reader-shortcut:focus,
.genesis-nav-menu .search input[type="submit"]:focus,
.widget_search input[type="submit"]:focus {
clip: auto !important;
height: auto;
width: auto;
display: block;
font-size: 1em;
font-weight: bold;
padding: 15px 23px 14px;
color: #333;
background: #fff;
z-index: 100000; /* Above WP toolbar. */
text-decoration: none;
box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
}
.more-link {
position: relative;
}
style.css	
/* Visually hidden items for assistive devices */
.visuallyhidden {
border: 0;
clip: rect(0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
Visually	Hidden?	
•  Home	page	has	the	page	Atle	hidden	
•  An	H1	had	to	be	inserted	into	the	home	page	
in	a	text	widget	
•  Wrapping	this	H1	in	the	.visuallyhidden
div	would	allow	it	to	be	read	by	screen	
readers	and	hidden	from	screens
style.css	
/* Skip Links ---------------------------------------- */
.genesis-skip-link {
margin: 0;
}
.genesis-skip-link li {
height: 0;
width: 0;
list-style: none;
}
/* Display outline on focus */
:focus {
color: #333;
outline: #ccc solid 1px;
}
Content	not	properly	located	inside	
landmarks	
•  Footer	widgets	were	not	located	inside	any	
landmark
Move	Footer	widgets	to	landmark	
//* Add aside landmark to footer widgets
function add_footer_widget_landmark_open() {
echo '<aside role="complementary" aria-label="Footer
Sidebar">';
}
add_action( 'genesis_before_footer' ,
'add_footer_widget_landmark_open' , 1 );
function add_footer_widget_landmark_close() {
echo '</aside>';
}
add_action( 'genesis_before_footer' ,
'add_footer_widget_landmark_close' , 99 );
<aside role="complementary" aria-label="Footer
Sidebar">Footer widgets content here</aside>
Content	not	properly	located	inside	
landmarks	
•  Several	of	the	Home	page	widgets	were	not	
located	inside	the	Content	landmark
Move	the	home	page	widgets	inside	
Content	Landmark	
•  Was	
//*	Add	home	top	widgets	
	 	add_acAon(	'genesis_aqer_header',	
'enterprise_home_top_widgets'	);	
•  Is	
//*	Add	home	top	widgets	
	 	add_acAon(	'genesis_before_loop',	
'enterprise_home_top_widgets',	1	);
Content	not	properly	located	inside	
landmarks	
•  Skip	Links	not	inside	any	landmark	
•  Skip	Nav	should	be	the	located	at	the	opening	
of	the	DOM,	before	any	landmark	
•  This	is	a	false	posiAve	and	can	be	ignored
Keyboard	TesAng	
•  Tab	through	your	website	using	only	the	
keyboard	
– Added	:focus	styling	to	wrap	focused	elements	
with	colored	box	
•  Discovered	that	accordion	plugin	used	would	
not	close	using	keyboard	
– Changed	plugin	used	and	edited	shortcodes
Anyone	can	be	an	A11y	
•  Most	of	this	is	common	sense	
•  Alt	tags	
•  Link	text	
•  Adding	plugins	to	enable	skip	links	
•  Picking	contrasAng	colors	
•  TesAng	for	usability

Contenu connexe

Similaire à Accessibility learnings

How to Develop a Genealogical Website
How to Develop a Genealogical WebsiteHow to Develop a Genealogical Website
How to Develop a Genealogical Website
webhostingguy
 
User Centered Design (UCD)
User Centered Design (UCD)User Centered Design (UCD)
User Centered Design (UCD)
SKALI Group
 
Web Accessibility
Web AccessibilityWeb Accessibility
Web Accessibility
Sana Ullah
 

Similaire à Accessibility learnings (20)

Paths to the Multi-device Web
Paths to the Multi-device WebPaths to the Multi-device Web
Paths to the Multi-device Web
 
How to Develop a Genealogical Website
How to Develop a Genealogical WebsiteHow to Develop a Genealogical Website
How to Develop a Genealogical Website
 
Web accessibility with Ametys CMS
Web accessibility with Ametys CMSWeb accessibility with Ametys CMS
Web accessibility with Ametys CMS
 
How to create accessible websites - WordCamp New York
How to create accessible websites - WordCamp New YorkHow to create accessible websites - WordCamp New York
How to create accessible websites - WordCamp New York
 
Web Accessibility Top 10 - LCC (1/2 day workshop, August 2013)
Web Accessibility Top 10 - LCC (1/2 day workshop, August 2013)Web Accessibility Top 10 - LCC (1/2 day workshop, August 2013)
Web Accessibility Top 10 - LCC (1/2 day workshop, August 2013)
 
Web Accessibility and Design
Web Accessibility and DesignWeb Accessibility and Design
Web Accessibility and Design
 
User Centered Design (UCD)
User Centered Design (UCD)User Centered Design (UCD)
User Centered Design (UCD)
 
Build Accessibly - Community Day 2012
Build Accessibly - Community Day 2012Build Accessibly - Community Day 2012
Build Accessibly - Community Day 2012
 
Best Practices for Building Accessible Websites in Wordpress
Best Practices for Building Accessible Websites in WordpressBest Practices for Building Accessible Websites in Wordpress
Best Practices for Building Accessible Websites in Wordpress
 
How to engineer accessible websites
How to engineer accessible websitesHow to engineer accessible websites
How to engineer accessible websites
 
Accessibility Testing 101
Accessibility Testing 101Accessibility Testing 101
Accessibility Testing 101
 
Considerations for Your Mobile Library
Considerations for Your Mobile LibraryConsiderations for Your Mobile Library
Considerations for Your Mobile Library
 
Designing for Everybody Workshop
Designing for Everybody WorkshopDesigning for Everybody Workshop
Designing for Everybody Workshop
 
The Successful Website
The Successful WebsiteThe Successful Website
The Successful Website
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
Accessible Web Design
Accessible Web DesignAccessible Web Design
Accessible Web Design
 
Your window to the digital world
Your window to the digital worldYour window to the digital world
Your window to the digital world
 
Making Websites Accessible to People with Disabilities
Making Websites Accessible to People with DisabilitiesMaking Websites Accessible to People with Disabilities
Making Websites Accessible to People with Disabilities
 
Web Accessibility
Web AccessibilityWeb Accessibility
Web Accessibility
 
Guide Series Interactive Design_PastPresentAndFuture
Guide Series Interactive Design_PastPresentAndFutureGuide Series Interactive Design_PastPresentAndFuture
Guide Series Interactive Design_PastPresentAndFuture
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

Accessibility learnings