SlideShare una empresa de Scribd logo
1 de 68
Baking accessibility in
Cordelia McGee-Tubb
Accessibility Specialist at Dropbox
Soon-to-be Master of Comics
@cordeliadillon
What’s accessibility?
● Making products, services, and spaces that everyone
can use and enjoy, regardless of their abilities
● Creating flexible systems that consider the
experiences of people with disabilities from the very
start, not just through tacked-on accommodations
Why am I talking to
you about this?
You are creating
the cookbooks that
everyone else reads.
People want to
use your recipes.
Give them the best
recipes you can.
(Accessibility)
Universal Design
Cooking Class Agenda
● Foundational ingredients
common accessible code techniques
● Sugar, spice, and everything nice
making your distinct design accessible
● Sharing your recipes
documenting accessibility
Foundational
ingredients
Use semantic HTML.
Buttons: Use actual <button> elements
Primary
<button class=“button--primary”>
Primary
</button>
Secondary
Buttons: Use actual <button> elements
Primary
<a class=“button--primary”>
Primary
</a>
Secondary
Buttons: Use actual <button> elements
Primary
<div class=“button--primary” onClick=“...”>
Primary
</div>
Secondary
Buttons: Use actual <button> elements
Primary
<button class=“button--primary”>
Primary
</button>
Secondary
Form fields: Use visible, explicit labels
Favorite animal
<input type=“text” placeholder=“Favorite animal”/>
Form fields: Use visible, explicit labels
Leaping lemurs
Favorite animal
<label>Favorite animal</label>
<input type=“text” placeholder=“Leaping lemurs”/>
Form fields: Use visible, explicit labels
Leaping lemurs
Favorite animal
<label for=“animal”>Favorite animal</label>
<input id=“animal” type=“text”
placeholder=“Leaping lemurs”/>
Give images some
alternative text.
Informational: Short, descriptive alt text
<img alt=“Home” src=“house-icon.png”/>
<img alt=“Greenhouse” src=“house-icon.png”/>
Redundant: Empty alt text
<img alt=“” src=“home-icon.png”/>
<span class=“uppercase”>Home</span>
HOME
<svg aria-hidden=“true”>...</svg>
<span class=“uppercase”>Home</span>
Decorative: At your discretion, often empty
alt=“Illustration of
Cordelia grinning,
wearing a chef’s hat,
and stirring batter”
alt=“”
Include a dash of
ARIA when necessary.
A R I A
Accessible Rich Internet Applications
Communicate element’s
role, state, and properties
to assistive technology.
Some components that should use ARIA
● Modals
● Menus
● Accordions
● Tabs
● Alerts
● Trees
… and various other elements whose functionality or
purpose aren’t clear through semantic HTML alone.
Add accessible recipes to your cookbook.
WCAG 2.0 Guidelines
https://www.w3.org/TR/WCAG20/
Heydon’s Practical ARIA Examples
http://heydonworks.com/practical_aria_examples/
Web Accessibility Slack community
http://web-a11y.herokuapp.com/
Sugar, spice, and
everything nice
Make keyboard
interactions as rich as
mouse interactions.
Don’t forget about
focus styles.
Focus styles
Focus styles
Focus styles
Love
Focus styles
Love Love
Love Love
Color
Two color rules:
Do maintain reasonable contrast between
text and background colors.
Don’t use color alone to convey meaning.
Rule #1: Reasonable contrast for text
WCAG 2.0 Guidelines
4.5:1 for regular text
3:1 for large text
http://leaverou.github.io/contrast-ratio/
http://wave.webaim.org
dropbox.github.io/scooter/functions.html
dropbox.github.io/scooter/functions.html
Use vibrant colors!
Use light colors!
Rule #2: Use more than just color for meaning
Rule #2: Use more than just color for meaning
Rule #2: Use more than just color for meaning
Rule #2: Use more than just color for meaning
Sharing
your recipes
Include accessibility
notes in your
documentation.
Component documentation
● Discourages accidental removal of accessible aspects
● Encourages constant attention to accessibility
● Spreads best practices
General documentation
● Might get overlooked (so shouldn’t exist by itself)
● Encourages holistic thinking about inclusive design
● Spreads best practices
Cooking Class Recap
● Bake accessibility in from the beginning!
● Use these key ingredients:
○ semantic HTML
○ alternative text
○ ARIA (as necessary)
○ keyboard interactivity
● Use color! Make sure text is high contrast and and there
are additional visual elements for meaning.
● Share your accessible recipes generously.
Thanks!
@cordeliadillon

Más contenido relacionado

Similar a Baking Accessibility In

Social Bookmarking; Delicious. How & Why
Social Bookmarking; Delicious. How & WhySocial Bookmarking; Delicious. How & Why
Social Bookmarking; Delicious. How & WhyDavid Hopkins
 
Website designers and software Engineers
Website designers and software EngineersWebsite designers and software Engineers
Website designers and software EngineersRajesh Grover
 
TrueSpirit.com Case Study
TrueSpirit.com Case StudyTrueSpirit.com Case Study
TrueSpirit.com Case StudyRoxanne Mustafa
 
[Srijan Wednesday Webinars] UX Improvements of Drupal 8 and Why They Matter
[Srijan Wednesday Webinars] UX Improvements of Drupal 8 and Why They Matter[Srijan Wednesday Webinars] UX Improvements of Drupal 8 and Why They Matter
[Srijan Wednesday Webinars] UX Improvements of Drupal 8 and Why They MatterSrijan Technologies
 
Creating Accessible Documents
Creating Accessible DocumentsCreating Accessible Documents
Creating Accessible DocumentsAna Thompson
 
Prototyping giao diện sử dụng Expression Blend Sketch Flow
Prototyping giao diện sử dụng Expression Blend Sketch FlowPrototyping giao diện sử dụng Expression Blend Sketch Flow
Prototyping giao diện sử dụng Expression Blend Sketch FlowTechMaster Vietnam
 
Design Before Code - Global Accessibility Awareness Day Edition
Design Before Code - Global Accessibility Awareness Day EditionDesign Before Code - Global Accessibility Awareness Day Edition
Design Before Code - Global Accessibility Awareness Day EditionCaitlin Geier
 
Technovation challenge workplan for week 4
Technovation challenge workplan for week 4Technovation challenge workplan for week 4
Technovation challenge workplan for week 4wetech_global
 
HTML5 design principles
HTML5 design principlesHTML5 design principles
HTML5 design principlesHarshal Patil
 
How to Build Products for the Blind by Sidewalk Labs' Engineer
How to Build Products for the Blind by Sidewalk Labs' EngineerHow to Build Products for the Blind by Sidewalk Labs' Engineer
How to Build Products for the Blind by Sidewalk Labs' EngineerProduct School
 
The Flexibility of Drupal
The Flexibility of DrupalThe Flexibility of Drupal
The Flexibility of DrupalMichael Miles
 
UX improvements to Drupal 8
UX improvements to Drupal 8UX improvements to Drupal 8
UX improvements to Drupal 8Kiat Lim
 
A simple test paper from Chen
A simple test paper from ChenA simple test paper from Chen
A simple test paper from Chentechweb08
 

Similar a Baking Accessibility In (20)

Social Bookmarking; Delicious. How & Why
Social Bookmarking; Delicious. How & WhySocial Bookmarking; Delicious. How & Why
Social Bookmarking; Delicious. How & Why
 
Delicious Kare
Delicious KareDelicious Kare
Delicious Kare
 
EVOLVE"13 | Maximize & Enhance | Accessibility | Kiran Kaja
EVOLVE"13 | Maximize & Enhance | Accessibility | Kiran KajaEVOLVE"13 | Maximize & Enhance | Accessibility | Kiran Kaja
EVOLVE"13 | Maximize & Enhance | Accessibility | Kiran Kaja
 
Website designers and software Engineers
Website designers and software EngineersWebsite designers and software Engineers
Website designers and software Engineers
 
TrueSpirit.com Case Study
TrueSpirit.com Case StudyTrueSpirit.com Case Study
TrueSpirit.com Case Study
 
Pruexx User's guide for beta testing
Pruexx User's guide for beta testingPruexx User's guide for beta testing
Pruexx User's guide for beta testing
 
Delicious
Delicious Delicious
Delicious
 
[Srijan Wednesday Webinars] UX Improvements of Drupal 8 and Why They Matter
[Srijan Wednesday Webinars] UX Improvements of Drupal 8 and Why They Matter[Srijan Wednesday Webinars] UX Improvements of Drupal 8 and Why They Matter
[Srijan Wednesday Webinars] UX Improvements of Drupal 8 and Why They Matter
 
Creating Accessible Documents
Creating Accessible DocumentsCreating Accessible Documents
Creating Accessible Documents
 
Prototyping giao diện sử dụng Expression Blend Sketch Flow
Prototyping giao diện sử dụng Expression Blend Sketch FlowPrototyping giao diện sử dụng Expression Blend Sketch Flow
Prototyping giao diện sử dụng Expression Blend Sketch Flow
 
Design Before Code - Global Accessibility Awareness Day Edition
Design Before Code - Global Accessibility Awareness Day EditionDesign Before Code - Global Accessibility Awareness Day Edition
Design Before Code - Global Accessibility Awareness Day Edition
 
Social Bookmarking
Social BookmarkingSocial Bookmarking
Social Bookmarking
 
Web design
Web designWeb design
Web design
 
Technovation challenge workplan for week 4
Technovation challenge workplan for week 4Technovation challenge workplan for week 4
Technovation challenge workplan for week 4
 
HTML5 design principles
HTML5 design principlesHTML5 design principles
HTML5 design principles
 
How to Build Products for the Blind by Sidewalk Labs' Engineer
How to Build Products for the Blind by Sidewalk Labs' EngineerHow to Build Products for the Blind by Sidewalk Labs' Engineer
How to Build Products for the Blind by Sidewalk Labs' Engineer
 
The Flexibility of Drupal
The Flexibility of DrupalThe Flexibility of Drupal
The Flexibility of Drupal
 
UX improvements to Drupal 8
UX improvements to Drupal 8UX improvements to Drupal 8
UX improvements to Drupal 8
 
Pml 5
Pml 5Pml 5
Pml 5
 
A simple test paper from Chen
A simple test paper from ChenA simple test paper from Chen
A simple test paper from Chen
 

Último

React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...amber724300
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...itnewsafrica
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sectoritnewsafrica
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 

Último (20)

React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 

Baking Accessibility In