SlideShare a Scribd company logo
1 of 17
// Freiburg // 11/10/2016 // Frontend Meetup
// WEB ACCESSIBILITY
11. Oktober 2016, Freiburg
ACCESSIBILITY// 3
// TYPES OF
DISABILITY
VISUAL
(blindness, low vision, color-blindness)
HEARING
(deafness and hard-of-hearing)
MOTOR
(inability to use a mouse, slow response time,
limited fine motor control)
COGNITIVE
(learning disabilities, distractability, memory deficits,
inability to focus on large amounts of information)
// Reframing Accessibility
We need to change the way we talk about accessibility. Most
people are taught that “web accessibility means that people
with disabilities can use the Web”—the official definition from
the W3C. This is wrong. Web accessibility means that people
can use the web.
Anne Gibson, A LIST APART
// Web designers and developers
should treat accessibility as a
fundamental part of
development and not an
afterthought.
ACCESSIBILITY// 6
// DESIGN
RECOMMEND-
ATIONS
Plan Heading Structure Early
Consider Reading Order
Provide Good Contrast
Watch the Use of CAPS
Use Adequate Font Size
Remember Line Length
Make Sure Links are Recognizable
Ensure Link Text Makes Sense on Its Own
Use Animation, Video, and Audio Carefully
Don't Rely on Colour Alone
ACCESSIBILITY// 7
// DEVELOPER
RECOMMEND-
ATIONS
Alt text only where necessary (not title)
Links must contain text
(screenreader only, if necessary)
Use Semantic Elements correctly, HTML5 where
possible
Apply ARIA Roles responsibly
Navigate site with Keyboard
Set Focus State
Design Accessible Form Controls
Careful using display:none
Skip to content link
Set language
ACCESSIBILITY// 8
// SCREEN READER
ONLY
/*
* Hide only visually, but have it available
* for screen readers
*/
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
// WAI-ARIA provides attributes
for extending HTML markup
with roles, states and
properties to expose Web
applications to Assistive
Technologies (AT).
ACCESSIBILITY// 10
// WAI-ARIA
ROLES
HTML5
Implied ARIA
role
<header> role="banner"
<nav> role="navigation"
<main> role="main"
<footer> role="contentinfo"
<aside>
role="complement
ary"
<article> role=“article"
<section> role=“region”
HTML5 Tags still require
Aria Landmark Roles
(lack of HTML5 support :
www.html5accessibility.com
)
ACCESSIBILITY// 11
// WAI-ARIA
COMMON
STATES &
PROPERTIES Common States:
aria-disabled
aria-hidden
Common Properties:
aria-expanded
aria-controls
aria-describedby
aria-haspopup
aria-label
aria-labelledby
aria-required
ACCESSIBILITY// 12
// WAI-ARIA
MENU
EXAMPLE
<nav role="navigation“>
<ol>
<li><h2><a href="http://...">Home</a></h2></li>
<li>
<h2>
<a id="menu-1" href="http://..." aria-haspopup="true"
aria-controls="menu-1-panel" aria-expanded="true" class="open">Industries</a>
</h2>
<div class=„panel open" id="menu-1-panel" role="group" aria-expanded="true"
aria-hidden="false" aria-labelledby="menu-1">
<h3>Food</h3>
</div>
</li>
</ol>
</nav>
<nav role="navigation“>
<ol>
<li><h2><a href="http://...">Home</a></h2></li>
<li>
<h2>
<a id="menu-1" href="http://..." aria-haspopup="true"
aria-controls="menu-1-panel" aria-expanded="true" class="open">Industries</a>
</h2>
<div class=„panel open" id="menu-1-panel" role="group" aria-expanded="true"
aria-hidden="false" aria-labelledby="menu-1">
<h3>Food</h3>
</div>
</li>
</ol>
</nav>
ACCESSIBILITY// 13
// WAI-ARIA
SEARCH FORM
EXAMPLE
<form role=”search”>
<label for=”search”>Search</label>
<input type=”search” id=” search” name=” search”>
<button>submit</button>
</form>
<form role=”search”>
<label for=”search”>Search</label>
<input type=”search” id=” search” name=” search”>
<button>submit</button>
</form>
ACCESSIBILITY// 14
// SKIP TO
CONTENT
<header role="banner“>
<a id="skip-to-content" href="#content">skip to main content</a>
<h1>Site Name</h1>
<nav role="navigation">
<a href="#">Link1</a>
<a href="#">Link2</a>
<a href="#">Link3</a>
<a href="#">Link4</a>
</nav>
</header>
<main id="content" role="main" tabindex="0">
<header role="banner“>
<a id="skip-to-content" href="#content">skip to main content</a>
<h1>Site Name</h1>
<nav role="navigation">
<a href="#">Link1</a>
<a href="#">Link2</a>
<a href="#">Link3</a>
<a href="#">Link4</a>
</nav>
</header>
<main id="content" role="main" tabindex="0">
#skip-to-content {
padding: 1em;
position: absolute;
top: -40px;
left: 1em;
z-index: 1000;
color: white;
}
#skip-to-content:focus {
position: absolute;
top: 0;
background: #4593ff;
}
#skip-to-content {
padding: 1em;
position: absolute;
top: -40px;
left: 1em;
z-index: 1000;
color: white;
}
#skip-to-content:focus {
position: absolute;
top: 0;
background: #4593ff;
}
HTML
CSS
ACCESSIBILITY// 15
// TOOLS
ChromeVOX
In-Browser Screen Reader Chrome Extension
Accessibility Developer Tools
Chrome Extension for Accessilbity Audits using Web
Developer
http://wave.webaim.org/
https://tenon.io
Online Accesibility Tests
NoCoffee
Vision Simulator Chrome Extension
http://webaim.org/resources/contrastchecker/
Colour Contrast Checker
http://www.paciellogroup.com/resources/contrastana
lyser/
Colour Contrast Analyser
ACCESSIBILITY// 16
// FURTHER
READING
http://webaim.org/resources/designers/#infographic
http://alistapart.com/article/reframing-accessibility-
for-the-web
http://www.w3.org/WAI/
http://webaim.org/
http://a11yproject.com/
https://webaccessibility.withgoogle.com
Google Accessibility free online Course
“Inclusive Design Patterns”, Smashing Mag
ACCESSIBILITY// 17
// KONTAKT
EMMA SEIFRIED
KULTWERK GMBH
HOLBEINSTRASSE 2
79100 FREIBURG
T +49 761.458 95 54-7
F +49 761. 458 95 54-9
EMMA.SEIFRIED@KULTWERK.DE
WWW.KULTWERK.DE

More Related Content

Viewers also liked

Kelner 3.04
Kelner 3.04Kelner 3.04
Kelner 3.04sadset33
 
Presentación joanny
Presentación joannyPresentación joanny
Presentación joannyJoannyVASQUEZ
 
Pain in Pediatric Palliative Care
Pain in Pediatric Palliative CarePain in Pediatric Palliative Care
Pain in Pediatric Palliative CarePaige Abrams
 
LJ Blake Portfolio
LJ Blake PortfolioLJ Blake Portfolio
LJ Blake PortfolioLarry Blake
 
Речевые технологии VoiceAnalytics
Речевые технологии VoiceAnalyticsРечевые технологии VoiceAnalytics
Речевые технологии VoiceAnalyticsAltuera
 
Kelner 1.03
Kelner 1.03Kelner 1.03
Kelner 1.03sadset33
 
菁英二班第4週教學聯繫(2 28)
菁英二班第4週教學聯繫(2 28)菁英二班第4週教學聯繫(2 28)
菁英二班第4週教學聯繫(2 28)yvette wu
 
Kelner 2.05
Kelner 2.05Kelner 2.05
Kelner 2.05sadset33
 
Emmagatzemar compartir-informacio (1)
Emmagatzemar compartir-informacio (1)Emmagatzemar compartir-informacio (1)
Emmagatzemar compartir-informacio (1)IzanBB
 

Viewers also liked (13)

Kelner 3.04
Kelner 3.04Kelner 3.04
Kelner 3.04
 
Presentación joanny
Presentación joannyPresentación joanny
Presentación joanny
 
Pain in Pediatric Palliative Care
Pain in Pediatric Palliative CarePain in Pediatric Palliative Care
Pain in Pediatric Palliative Care
 
LJ Blake Portfolio
LJ Blake PortfolioLJ Blake Portfolio
LJ Blake Portfolio
 
204
204204
204
 
Речевые технологии VoiceAnalytics
Речевые технологии VoiceAnalyticsРечевые технологии VoiceAnalytics
Речевые технологии VoiceAnalytics
 
Kelner 1.03
Kelner 1.03Kelner 1.03
Kelner 1.03
 
菁英二班第4週教學聯繫(2 28)
菁英二班第4週教學聯繫(2 28)菁英二班第4週教學聯繫(2 28)
菁英二班第4週教學聯繫(2 28)
 
405
405405
405
 
Kelner 2.05
Kelner 2.05Kelner 2.05
Kelner 2.05
 
Emmagatzemar compartir-informacio (1)
Emmagatzemar compartir-informacio (1)Emmagatzemar compartir-informacio (1)
Emmagatzemar compartir-informacio (1)
 
Proyecto final
Proyecto finalProyecto final
Proyecto final
 
Hudson Tasks G-J
Hudson Tasks G-JHudson Tasks G-J
Hudson Tasks G-J
 

Similar to Web Accessibility

A Half Day Workshop on Building Accessible Websites For People With Disabilities
A Half Day Workshop on Building Accessible Websites For People With DisabilitiesA Half Day Workshop on Building Accessible Websites For People With Disabilities
A Half Day Workshop on Building Accessible Websites For People With DisabilitiesAayush Shrestha
 
Accessible & Usable Web Forms. Your How To Guide!
Accessible & Usable Web Forms. Your How To Guide!Accessible & Usable Web Forms. Your How To Guide!
Accessible & Usable Web Forms. Your How To Guide!Rabab Gomaa
 
How To Build An Accessible Web Application
How To Build An Accessible Web ApplicationHow To Build An Accessible Web Application
How To Build An Accessible Web ApplicationDennis Lembree
 
Accessibility and Web Technologies @HTML5_Toronto
Accessibility and Web Technologies @HTML5_TorontoAccessibility and Web Technologies @HTML5_Toronto
Accessibility and Web Technologies @HTML5_TorontoGeorge Zamfir
 
Show & tell - A more accessible accordion
Show & tell - A more accessible accordionShow & tell - A more accessible accordion
Show & tell - A more accessible accordionDan Dineen
 
HTML5 Accessibility CSUN 2012
HTML5 Accessibility CSUN 2012HTML5 Accessibility CSUN 2012
HTML5 Accessibility CSUN 2012Steven Faulkner
 
Angular js mobile jsday 2014 - Verona 14 may
Angular js mobile   jsday 2014 - Verona 14 mayAngular js mobile   jsday 2014 - Verona 14 may
Angular js mobile jsday 2014 - Verona 14 mayLuciano Amodio
 
Seth Duffy Accessibility97035
Seth Duffy   Accessibility97035Seth Duffy   Accessibility97035
Seth Duffy Accessibility97035FNian
 
Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Patrick Lauke
 
Briding the Gap between Desktop and Mobile publishing
Briding the Gap between Desktop and Mobile publishingBriding the Gap between Desktop and Mobile publishing
Briding the Gap between Desktop and Mobile publishingTom Deryckere
 
Making JavaScript Accessible
Making JavaScript AccessibleMaking JavaScript Accessible
Making JavaScript AccessibleDennis Lembree
 
jQuery: Accessibility, Mobile und Responsive
jQuery: Accessibility, Mobile und ResponsivejQuery: Accessibility, Mobile und Responsive
jQuery: Accessibility, Mobile und ResponsivePeter Rozek
 
Accessibility and why it matters
Accessibility and why it mattersAccessibility and why it matters
Accessibility and why it mattersMargarida Sousa
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web AccessibilityHagai Asaban
 
HTML5 Webinar - Mind Storm Software
HTML5 Webinar - Mind Storm SoftwareHTML5 Webinar - Mind Storm Software
HTML5 Webinar - Mind Storm SoftwareRomin Irani
 
HTML5: the new frontier of the web
HTML5: the new frontier of the webHTML5: the new frontier of the web
HTML5: the new frontier of the webIvano Malavolta
 
Making RIAs Accessible - Spring Break 2008
Making RIAs Accessible - Spring Break 2008Making RIAs Accessible - Spring Break 2008
Making RIAs Accessible - Spring Break 2008Andrea Hill
 

Similar to Web Accessibility (20)

A Half Day Workshop on Building Accessible Websites For People With Disabilities
A Half Day Workshop on Building Accessible Websites For People With DisabilitiesA Half Day Workshop on Building Accessible Websites For People With Disabilities
A Half Day Workshop on Building Accessible Websites For People With Disabilities
 
Accessible & Usable Web Forms. Your How To Guide!
Accessible & Usable Web Forms. Your How To Guide!Accessible & Usable Web Forms. Your How To Guide!
Accessible & Usable Web Forms. Your How To Guide!
 
How To Build An Accessible Web Application
How To Build An Accessible Web ApplicationHow To Build An Accessible Web Application
How To Build An Accessible Web Application
 
Accessibility and Web Technologies @HTML5_Toronto
Accessibility and Web Technologies @HTML5_TorontoAccessibility and Web Technologies @HTML5_Toronto
Accessibility and Web Technologies @HTML5_Toronto
 
Show & tell - A more accessible accordion
Show & tell - A more accessible accordionShow & tell - A more accessible accordion
Show & tell - A more accessible accordion
 
HTML5 Accessibility CSUN 2012
HTML5 Accessibility CSUN 2012HTML5 Accessibility CSUN 2012
HTML5 Accessibility CSUN 2012
 
Angular js mobile jsday 2014 - Verona 14 may
Angular js mobile   jsday 2014 - Verona 14 mayAngular js mobile   jsday 2014 - Verona 14 may
Angular js mobile jsday 2014 - Verona 14 may
 
Seth Duffy Accessibility97035
Seth Duffy   Accessibility97035Seth Duffy   Accessibility97035
Seth Duffy Accessibility97035
 
Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010
 
Briding the Gap between Desktop and Mobile publishing
Briding the Gap between Desktop and Mobile publishingBriding the Gap between Desktop and Mobile publishing
Briding the Gap between Desktop and Mobile publishing
 
Making JavaScript Accessible
Making JavaScript AccessibleMaking JavaScript Accessible
Making JavaScript Accessible
 
jQuery: Accessibility, Mobile und Responsive
jQuery: Accessibility, Mobile und ResponsivejQuery: Accessibility, Mobile und Responsive
jQuery: Accessibility, Mobile und Responsive
 
Accessibility and why it matters
Accessibility and why it mattersAccessibility and why it matters
Accessibility and why it matters
 
Best Practices for Mobile Web Design
Best Practices for Mobile Web DesignBest Practices for Mobile Web Design
Best Practices for Mobile Web Design
 
15 Point Checklist For An Accessible Research Website
15 Point Checklist For An Accessible Research Website15 Point Checklist For An Accessible Research Website
15 Point Checklist For An Accessible Research Website
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web Accessibility
 
Html5 aria-css-ibm-csun-2016
Html5 aria-css-ibm-csun-2016Html5 aria-css-ibm-csun-2016
Html5 aria-css-ibm-csun-2016
 
HTML5 Webinar - Mind Storm Software
HTML5 Webinar - Mind Storm SoftwareHTML5 Webinar - Mind Storm Software
HTML5 Webinar - Mind Storm Software
 
HTML5: the new frontier of the web
HTML5: the new frontier of the webHTML5: the new frontier of the web
HTML5: the new frontier of the web
 
Making RIAs Accessible - Spring Break 2008
Making RIAs Accessible - Spring Break 2008Making RIAs Accessible - Spring Break 2008
Making RIAs Accessible - Spring Break 2008
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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...Martijn de Jong
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

Web Accessibility

  • 1. // Freiburg // 11/10/2016 // Frontend Meetup
  • 2. // WEB ACCESSIBILITY 11. Oktober 2016, Freiburg
  • 3. ACCESSIBILITY// 3 // TYPES OF DISABILITY VISUAL (blindness, low vision, color-blindness) HEARING (deafness and hard-of-hearing) MOTOR (inability to use a mouse, slow response time, limited fine motor control) COGNITIVE (learning disabilities, distractability, memory deficits, inability to focus on large amounts of information)
  • 4. // Reframing Accessibility We need to change the way we talk about accessibility. Most people are taught that “web accessibility means that people with disabilities can use the Web”—the official definition from the W3C. This is wrong. Web accessibility means that people can use the web. Anne Gibson, A LIST APART
  • 5. // Web designers and developers should treat accessibility as a fundamental part of development and not an afterthought.
  • 6. ACCESSIBILITY// 6 // DESIGN RECOMMEND- ATIONS Plan Heading Structure Early Consider Reading Order Provide Good Contrast Watch the Use of CAPS Use Adequate Font Size Remember Line Length Make Sure Links are Recognizable Ensure Link Text Makes Sense on Its Own Use Animation, Video, and Audio Carefully Don't Rely on Colour Alone
  • 7. ACCESSIBILITY// 7 // DEVELOPER RECOMMEND- ATIONS Alt text only where necessary (not title) Links must contain text (screenreader only, if necessary) Use Semantic Elements correctly, HTML5 where possible Apply ARIA Roles responsibly Navigate site with Keyboard Set Focus State Design Accessible Form Controls Careful using display:none Skip to content link Set language
  • 8. ACCESSIBILITY// 8 // SCREEN READER ONLY /* * Hide only visually, but have it available * for screen readers */ .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
  • 9. // WAI-ARIA provides attributes for extending HTML markup with roles, states and properties to expose Web applications to Assistive Technologies (AT).
  • 10. ACCESSIBILITY// 10 // WAI-ARIA ROLES HTML5 Implied ARIA role <header> role="banner" <nav> role="navigation" <main> role="main" <footer> role="contentinfo" <aside> role="complement ary" <article> role=“article" <section> role=“region” HTML5 Tags still require Aria Landmark Roles (lack of HTML5 support : www.html5accessibility.com )
  • 11. ACCESSIBILITY// 11 // WAI-ARIA COMMON STATES & PROPERTIES Common States: aria-disabled aria-hidden Common Properties: aria-expanded aria-controls aria-describedby aria-haspopup aria-label aria-labelledby aria-required
  • 12. ACCESSIBILITY// 12 // WAI-ARIA MENU EXAMPLE <nav role="navigation“> <ol> <li><h2><a href="http://...">Home</a></h2></li> <li> <h2> <a id="menu-1" href="http://..." aria-haspopup="true" aria-controls="menu-1-panel" aria-expanded="true" class="open">Industries</a> </h2> <div class=„panel open" id="menu-1-panel" role="group" aria-expanded="true" aria-hidden="false" aria-labelledby="menu-1"> <h3>Food</h3> </div> </li> </ol> </nav> <nav role="navigation“> <ol> <li><h2><a href="http://...">Home</a></h2></li> <li> <h2> <a id="menu-1" href="http://..." aria-haspopup="true" aria-controls="menu-1-panel" aria-expanded="true" class="open">Industries</a> </h2> <div class=„panel open" id="menu-1-panel" role="group" aria-expanded="true" aria-hidden="false" aria-labelledby="menu-1"> <h3>Food</h3> </div> </li> </ol> </nav>
  • 13. ACCESSIBILITY// 13 // WAI-ARIA SEARCH FORM EXAMPLE <form role=”search”> <label for=”search”>Search</label> <input type=”search” id=” search” name=” search”> <button>submit</button> </form> <form role=”search”> <label for=”search”>Search</label> <input type=”search” id=” search” name=” search”> <button>submit</button> </form>
  • 14. ACCESSIBILITY// 14 // SKIP TO CONTENT <header role="banner“> <a id="skip-to-content" href="#content">skip to main content</a> <h1>Site Name</h1> <nav role="navigation"> <a href="#">Link1</a> <a href="#">Link2</a> <a href="#">Link3</a> <a href="#">Link4</a> </nav> </header> <main id="content" role="main" tabindex="0"> <header role="banner“> <a id="skip-to-content" href="#content">skip to main content</a> <h1>Site Name</h1> <nav role="navigation"> <a href="#">Link1</a> <a href="#">Link2</a> <a href="#">Link3</a> <a href="#">Link4</a> </nav> </header> <main id="content" role="main" tabindex="0"> #skip-to-content { padding: 1em; position: absolute; top: -40px; left: 1em; z-index: 1000; color: white; } #skip-to-content:focus { position: absolute; top: 0; background: #4593ff; } #skip-to-content { padding: 1em; position: absolute; top: -40px; left: 1em; z-index: 1000; color: white; } #skip-to-content:focus { position: absolute; top: 0; background: #4593ff; } HTML CSS
  • 15. ACCESSIBILITY// 15 // TOOLS ChromeVOX In-Browser Screen Reader Chrome Extension Accessibility Developer Tools Chrome Extension for Accessilbity Audits using Web Developer http://wave.webaim.org/ https://tenon.io Online Accesibility Tests NoCoffee Vision Simulator Chrome Extension http://webaim.org/resources/contrastchecker/ Colour Contrast Checker http://www.paciellogroup.com/resources/contrastana lyser/ Colour Contrast Analyser
  • 17. ACCESSIBILITY// 17 // KONTAKT EMMA SEIFRIED KULTWERK GMBH HOLBEINSTRASSE 2 79100 FREIBURG T +49 761.458 95 54-7 F +49 761. 458 95 54-9 EMMA.SEIFRIED@KULTWERK.DE WWW.KULTWERK.DE

Editor's Notes

  1. Intro Designer Recommendations Developer Recommendations WAI-ARIA Web Accessibility Initiative – Accessibile Rich Internet Applications Tools Further Reading
  2. VISUAL (blindness, low vision, color-blindness)Markup should be in a logical reading order. Foreground and background colors of text must have enough contrast to be readable without color. HEARING (deafness and hard-of-hearing) All videos should have captions. Don’t convey important information by sound only. MOTOR (inability to use a mouse, slow response time, limited fine motor control)Ensure that users can navigate the site by using the keyboard (tab to move forward and shift+tab for backwards). COGNITIVE (learning disabilities, distractability, memory deficits, inability to focus on large amounts of information)This is a broader disability that is more difficult to code for. In general, developers should strive for organization, clarity, simplicity, and ease of navigation.
  3. Web use is constantly changing: Voice Haptische Devices Games console
  4. http://webaim.org/resources/designers/ Plan Heading Structure Early Ensure all content and design fits into a logical heading structure. Consider Reading Order The reading order should be the same as the visual order. Provide Good Contrast Be especially careful with light shades of gray, orange, and yellow. Check your contrast levels with our color contrast checker. Use True Text Whenever Possible True text enlarges better, loads faster, and is easier to translate. Use CSS to add visual style. Watch the Use of CAPS All caps can be difficult to read and can be read incorrectly by screen readers. Use Adequate Font Size Font size can vary based on the font chosen, but 10 point is usually a minimum. Remember Line Length Don&amp;apos;t make it too long or too short. Make Sure Links are Recognizable Differentiate links in the body of the page with underlines or something other than color alone. Ensure Link Text Makes Sense on Its Own Avoid &amp;quot;Click Here&amp;quot; in link text. Other ambiguous links, such as &amp;quot;More&amp;quot; or &amp;quot;Continue&amp;quot;, can also be confusing. Screen readers will often jump through links, skipping the content inb etween, to skim through pages Use Animation, Video, and Audio Carefully If used, provide a play/pause button. Avoid flashing or strobing content: It can cause seizures. Don&amp;apos;t Rely on Color Alone Because users often can&amp;apos;t distinguish or may override page colors, color cannot be the only way information is conveyed. Reduce Cognitive Overload
  5. Alt text only where necessaryAlternative Text should be based on the function of the graphic, not the appearance. Use blank alt text for decorative images or use CSS. Title should not be used, especially not if meant to convey important information. Links must contain textCorrect Translation of sr-only tags Use Semantic Elements correctly, HTML5 where possibleListen können als solche angesagt werden (typische Ausgabe: „Liste enthält 4 Elemente”) und komplett übersprungen werden können. Allerdings sollten Listen nicht mißbraucht werden, um Trennelemente in einem eigenen List item anzuzeigen (&amp;lt;li class=&amp;quot;divider&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;)Schlechte Beispiel: https://getbootstrap.com/examples/navbar/ Apply ARIA Roles responsibly. First rule of ARIA use:„If you can use a native HTML element [HTML5] or attribute with the semantics and behaviour you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so.“ Navigate Site with KeyboardMake sure everything works on a keyboard. Everything that’s clickable needs to also be tabbable Set Focus StateEnsure keyboard users can visually identify a focused link. Use the standard dotted line or other non-color designators.(Bad example: http://www.spiegel.de/ Good example: http://www.bbc.com/) Design Accessible Form ControlsEnsure form controls have descriptive labels and instructions. Pay close attention to form validation errors and recovery mechanisms.Use Fieldsets and Legends to group related form elements (important for radio buttons and checkboxes) Wichtige Grafiken, wie Logos, nicht als CSS-background-image einbinden. Ansonsten entstehen Probleme für stark sehbehinderte Nutzer, die auf eigene Farben angewiesen sind und mit einem systemweiten Kontrastschema arbeiten (z.B. Windows Kontrast #1) – in diesem Fall werden CSS-Hintergrundbilder grundsätzlich nicht angezeigt, diese Nutzer bekommen also einen großen leeren Bereich präsentiert. Vorschlag: als echtes &amp;lt;img&amp;gt; mit entsprechendem alt-Attribut einbinden Careful using display:none Screen readers sometimes ignore display:none. This means the content will be read despite being “hidden”. Also use visibility: hidden Design a &amp;quot;Skip to Main Content&amp;quot; LinkA link for keyboard users to skip navigation should be at the top of the page. It can be hidden, but should be visible when it receives keyboard focus.(Bad example: http://www.zeit.de/ Good example: http://webaim.org/) Set LanguageDeclaring a language attribute on the html element enables a screen reader to read out the text with correct pronunciation. No-JS alternatives
  6. As web pages become more and more complex with dynamic content and advanced user interface controls developed with Ajax, HTML, JavaScript, and related technologies, these user interface controls and content updates are often not accessible to users with disabilities, especially screen reader users and users who cannot use a mouse or other pointing device. First rule: Use a native HTML element or attribute when you can Second rule: Do not change native semantics, unless you really must. Third rule: All interactive elements must have accessible name, role, state and properties as applicable. Fourth rule: All interactive ARIA controls must be usable with the keyboard. Fifth rule: Do not use role=&amp;quot;presentation&amp;quot; or aria-hidden=&amp;quot;true&amp;quot; on a visible focusable element. WAI-ARIA is included in HTML5 making it part of normative language. Before and after example: http://alistapart.com/article/accessibility-the-missing-ingredient
  7. &amp;lt;form role=„search“&amp;gt; Unnecessary ARIA Roles: button heading link list / listitem radio (if not styled)