SlideShare a Scribd company logo
ACCESSIBLE WEBSITES
FOR PEOPLE WITH
DISABILITIES
AAYUSH SHRESTHA
Chief of Design, nLocate
TODAY’S WORKSHOP
 PART I – Let’s get familiar
 What is Accessibility and Why is it an issue?
 Goals of Accessibility
 Web Accessibility Initiative (WAI) by W3C
 Web Content Accessibility Guidelines (WCAG)
 Common Barriers in a website
 Checklists when building an accessible website
 Validating your website
 Resource and Tools
TODAY’S WORKSHOP
 PART II – Disability Perspective
 How do Visually Impaired people browse the web
TODAY’S WORKSHOP
 PART III – Building Blocks
 The Low Hanging Fruits
 Proper DOM structure
 Managing Interactive Controls
 Managing Focus and Navigation
 Proper Labelling
 When things get complicated
 Introducing ARIA
 Proactively managing focus
 Simulating native behavior on custom controls
 Validation using Validating tools
PART I - LET’S GET FAMILIAR
WHAT IS ACCESSIBILITY
AND WHY IS IT AN ISSUE?
The power of the Web is in its universality.
Access by everyone regardless of
disability is an essential aspect.
-Tim Berners-Lee
W3C Director and inventor of the World Wide Web
WHAT IS ACCESSIBILITY AND WHY IS IT AN ISSUE?
 1.94% of population, around 5,13,000 people in Nepal are
physically disabled
 94,000 are visually impaired, 79,000 have auditory disability
 Countless old age people with partial visual and hearing abilities
 Neglecting a BIG CHUNK of users
WHAT IS ACCESSIBILITY AND WHY IS IT AN ISSUE?
 Web is an essential communication tool
 People with disabilities should have an equal and barrier-free
access to information
SO… WHAT IS ACCESSIBILITY?
 Making products and services available and usable to all users
regardless of
 PHYSICAL ABILITY
 SPEED OF INTERNET
 DEVICE
GOALS OF ACCESSIBILITY
 Improve usability of technology for all users through Universal
Design as an underlying approach
 Support social inclusion and equal opportunities for people with
disabilities
 Business-wise
 Accessibility overlaps with best web practices
 Universal device independent design
 Optimized usability and user experience
 Search Engine Optimization
WEB ACCESSIBILITY INITIATIVE (WAI) BY W3C
 Initiative by W3c to bring together people from industries,
disability organizations, policy makers, and research labs to
develop rules and guidelines to help make web accessible
 WAI has five levels of work
 Ensuring that web technologies support accessibility
 Developing guidelines for accessibility
 Improving tools to evaluate and repair accessibility issues
 Developing materials for education and outreach
 Coordinating with research and development
WEB CONTENT ACCESSIBILITY GUIDELINES
(WCAG)
 Guidelines defined by WAI
 Describing how to make websites accessible
 12 Guidelines. Under 4 Principles.
 Each guideline has testable success criteria
PRINCIPLE 1
PERCIEVABLE
PERCEIVABLE
 Information and User Interface must be presentable to users in a
way they can perceive.
 Text Alternatives: Provide text alternatives for any non-text content.
 Time based media : Provide alternatives for time based media
(Captions and Transcriptions for audio or video elements)
 Adaptable: Create content that can be presented in different ways
without using information or structure. Remove reliance on shape,
size, location and/or orientation to navigate and understand
 Distinguishable: Proper use of color with proper contrast and
meaningful color representation. Text Resize Options. Do not use
images of text as information.
PRINCIPLE 2
OPERABLE
OPERABLE
 User Interface components and navigation must be operable
 Keyboard Accessible: All functionality of the website should be
operable through keyboard. Avoid Keyboard Traps.
 Enough Time: Avoid action timeouts. Give enough time to go
through the content. No automatic redirects based on time.
 Seizures: Avoid blinking screens (more than 3 times in a second) that
could cause seizures.
 Navigable: Provide ways to help users navigate, find content, and
determine where they are. E.g. Skip To Content, Titled Pages, Proper
focus order, Link Purpose, Proper semantic html
PRINCIPLE 3
UNDERSTANDABLE
UNDERSTANDABLE
 Information and the Operation of User Interface must be
understandable
 Readable: Make text readable and understandable. Identification
of language, glossaries of acronyms and unusual terms.
 Predictable: Make websites work and behave in a predictable
manner
 Input assistance: Help user avoid and correct mistakes. Form labels
and instructions. Error identification. Suggestions.
PRINCIPLE 4
ROBUST
ROBUST
 Content must be robust enough that it can be interpreted
reliably by a wide variety of user agents including assistive
technologies.
 Compatibility: Maximizing compatibility with current and future user
agents including assistive features.
SOME COMMON BARRIERS
VISUAL BARRIERS
 Information contained within images without proper alt tags
 Inconsistent navigation or content
 Lack of adequate color contrast
 Bad color combinations
AUDIO BARRIERS
 Lack of transcription or captioning
 “Downloadable Files”
 Auditory Stimulus without proper alternatives
CHECKLIST FOR BUILDING WEBSITES
 Check how the site works with :
 Images turned off
 Sounds turned off
 Larger than normal font sizes
 Small screen resolution
 Black and white display
 Without a mouse
VALIDATION
 Syntax Checkers. HTML Validators.
 Accessibility Auditors
 User Testing
 Do it yourself
RESOURCES AND TOOLS
 Screen Readers : eg. ChromeVox and NVDA
 HTML Validators : eg. W3C Validator
 Auditor : Chrome Accessibility Auditor Extension
PART II – DISABILITY PERSPECTIVE
WITH SUSHIL ADHIKARI
PART III – BUILDING BLOCKS
HOW TO BUILD AN ACCESSIBLE WEBSITE?
 Visually impaired people see your page through DOM
 Keyboard Only users navigate through DOM
 DOM is the mental image of the page
 No Left-Right only Up-Down
 Change of Mindset
 Minor additions to our coding structure and style can bring a lot
of difference
 Fits right into good web practices for better code and better SEO
 Things that we can do that will not require much extra effort
LOW HANGING
FRUITS
PROPER DOM
STRUCTURE
PROPER DOM STRUCTURE
 Make sure the page makes sense. DOM-wise.
 Just because it looks right might not mean it will make sense to
Keyboard-only users.
 Keep keyboard navigation in mind.
CREATE LOGICAL SECTIONS OF DOCUMENT
<div class=“header”>
<div id=“logo”><img src=“logo.png”></div>
<div id=“nav”>
// Menu
</div>
</div>
<div class=“content”>
</div>
<div class=“footer”>
</div>
<header class=“header”>
<div id=“logo”><img src=“logo.png”></div>
<nav id=“nav”>
// Menu
</nav>
</header>
<section class=“content”>
</section>
<footer class=“footer”>
</footer>
NO YES
PROPER INTERACTIVE CONTROLS
<span onclick=“”>
<div onclick=“”>
<a href=“”>
<button onclick=“”>
NO YES
 Screen Readers can’t identify generic divs and spans
 They are not focusable by default
 Cannot be activated with a keyboard
LABELLING
 Label form elements properly
 Alt text for ALL images
 Descriptive alt text for informative images
 Blank alt text for decorative images (like bullets or icons)
MANAGING FOCUS
 Proactively manage focus to create an efficient workflow
 Mange focus for dynamic DOM elements like Alert Box and
Modals
 Make sure focus is not dropped on the floor on exit
DOCUMENT GOT
COMPLEX.
NOW WHAT?
CUSTOM CONTROLS
 Re-implement all semantics of native control on custom control
 Semantics
 Keyboard Support
 Focus Management
ARIATO THE RESCUE
ARIA – ACCESSIBLE RICH INTERNET APPLICATION
 Set of ROLES, ATTRIBUTES and STATES that help make complex and
dynamic web apps accessible
 Helps in making Dynamic Content and Advanced UI Controls
accessible
ARIA ROLES
 Used to define the function of elements
 Helps identify the role of the element
 4 types of ARIA Roles
 Widget Roles
 Composite Roles
 Structure Roles
 Landmark Roles
ARIA ROLES - WIDGET ROLES
 Defines different kinds of widgets in a page
 Dialog, AlertDialog, Alert
 Button
 Checkbox, Radio, Progressbar
 Link
ARIA ROLES - WIDGET ROLES
<div id="modal">
<h1>Do you want to make accessible
websites?</h1>
<button class="button"
onclick="closeModal()">OK</button>
<button class="button“
onclick="closeModal()">Cancel</button>
</div>
<div id="modal" role="dialog">
<h1 role="alert">Do you want to make
accessible websites?</h1>
<button class="button"
onclick="closeModal()">OK</button>
<button class="button"
onclick="closeModal()">Cancel</button>
</div>
ARIA ROLES - COMPOSTE ROLES
 Group element roles
 Grid -> row, gridcell, rowheader, columnheader
 Menu -> Menuitem, Menuitemcheckbox, Menuitemradio
 Tablist -> Tab and Tabpanel
ARIA ROLES - STRUCTURE ROLES
 Defines roles for document structure
 Article
 Heading
 Toolbar
 Img
 Seperator
ARIA ROLES - LANDMARK ROLES
 Intended for navigational landmarks
 Banner
 Form
 Main
 Navigation
 Search
ARIA ROLES - LANDMARK ROLES
<header class="header">
<nav class="menu">
<section class="body">
<header class="header“ role=“banner”>
<nav class="menu“ role=“navigation”>
<section class="body“ role=“main”>
ARIA STATES AND PROPERTIES
 ARIA states and properties are used to define variable states of
elements according to user interaction
 Aria-checked
 Aria-disabled
 Aria-expanded
 Aria-hidden
 Aria-invalid
 Aria-pressed
 Aria-readonly
 Aria-valuenow, aria-valuemax, aria-valuemin
TAB INDEX
 Custom interactive elements are not focusable by default
 Will not highlight by TAB-navigation
 Will not handle keyboard events
<div class=“button” role=“button”>Select Preferences</div>
<div class=“button” role=“button” tabindex=“0”>Select
Preferences</div>
CUSTOM KEYBOARD SUPPORT
 Mimic expected behavior
 [ENTER] or [SPACE] for select/deselect
 [ESC] for exit
 [TAB] for jumping between links
CUSTOM KEYBOARD SUPPORT
<div class=“button” role=“button”
onkeypress="checkhoverpress(event)">Select Preferences</div>
function checkhoverpress(e) {
//Check Enter key and Space Key
if(e.charCode == 13 || e.charCode == 32) {
showMenu();
}
}
CONTRAST
 Visual presentation of text and images of text should have proper
contrast between background and color of the text for proper
usability
 Conrast Ratio of 4.5:1 for normal text
 For large text, 3:1
CONTRAST
SKIP TO CONTENT NAVIGATION
 A link at the top of the page saying “Skip To Navigation”
 Helps Keyboard users to skip directly to the content part of the
website without having to go through other navigation elements
like Header, Navigation Menu, etc
<a href="#content" id="skiptocontent">Skip To Content</a>
<article class="content" id="content">
VALIDATING USING ACCESSIBILITY AUDIT TOOL
 Accessibility Audit Chrome Extension
AAYUSH SHRESTHA
FB.ME/SHRESTHAAAYUSH
@SHRESTHAAAYUSH
+AAYUSHSHRESTHAORIGINAL
AAYUSH@NLOCATE.COM

More Related Content

What's hot

Understanding and Supporting Web Accessibility
Understanding and Supporting Web AccessibilityUnderstanding and Supporting Web Accessibility
Understanding and Supporting Web Accessibility
Rachel Cherry
 
Digital accessibility intro 2021
Digital accessibility intro 2021Digital accessibility intro 2021
Digital accessibility intro 2021
Joshua Randall
 
Web Accessibility Testing With Axe
Web Accessibility Testing With AxeWeb Accessibility Testing With Axe
Web Accessibility Testing With Axe
Aparna A Gopalakrishnan
 
What is WCAG 2 and why should we care?
What is WCAG 2 and why should we care?What is WCAG 2 and why should we care?
What is WCAG 2 and why should we care?
Russ Weakley
 
I Am the LAAW! (Lean Accessibility Audit Workshops)
I Am the LAAW! (Lean Accessibility Audit Workshops)I Am the LAAW! (Lean Accessibility Audit Workshops)
I Am the LAAW! (Lean Accessibility Audit Workshops)
Michael Ryan
 
Accessibility 2.0: Blended Learning For Blended Accessibility
Accessibility 2.0: Blended Learning For Blended AccessibilityAccessibility 2.0: Blended Learning For Blended Accessibility
Accessibility 2.0: Blended Learning For Blended Accessibility
lisbk
 
Plan For Accessibility - TODCon 2008
Plan For Accessibility - TODCon 2008Plan For Accessibility - TODCon 2008
Plan For Accessibility - TODCon 2008
Denise Jacobs
 
Rebecca Topps - Mobile Accessibility
Rebecca Topps - Mobile AccessibilityRebecca Topps - Mobile Accessibility
Rebecca Topps - Mobile Accessibility
FrontEnders
 
How to improve UX by implementing accessibility - WebExpo 2013 Edition
How to improve UX by implementing accessibility - WebExpo 2013 EditionHow to improve UX by implementing accessibility - WebExpo 2013 Edition
How to improve UX by implementing accessibility - WebExpo 2013 Edition
Radek Pavlíček
 
Blogs and Wikis: Web-based Business Collaboration Tools for the 21st Century
Blogs and Wikis:Web-based Business Collaboration Tools for the 21st CenturyBlogs and Wikis:Web-based Business Collaboration Tools for the 21st Century
Blogs and Wikis: Web-based Business Collaboration Tools for the 21st Century
toddogas
 
Henry Charge - It's your job to make things accessible
Henry Charge - It's your job to make things accessibleHenry Charge - It's your job to make things accessible
Henry Charge - It's your job to make things accessible
FrontEnders
 
Tools And Techniques For Evaluating Accessibility
Tools And Techniques For Evaluating AccessibilityTools And Techniques For Evaluating Accessibility
Tools And Techniques For Evaluating Accessibility
Rachel Cherry
 
Web Accessibility 101
Web Accessibility 101Web Accessibility 101
Web Accessibility 101
Eric Malcolm
 
Quick Web Accessibility - Sensory Therapy Gardens Manual
Quick Web Accessibility - Sensory Therapy Gardens ManualQuick Web Accessibility - Sensory Therapy Gardens Manual
Quick Web Accessibility - Sensory Therapy Gardens Manual
KlausGroenholm
 
Top 20 Free Web Applications for Teachers and Librarians
Top 20 Free Web Applications for Teachers and LibrariansTop 20 Free Web Applications for Teachers and Librarians
Top 20 Free Web Applications for Teachers and Librarians
Steve Yuen
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
Christian Glover Wilson
 
Website development accessibility
Website development accessibilityWebsite development accessibility
Website development accessibility
Ilesh Mistry
 
Online Resources for Teachers and Students
Online Resources for Teachers and StudentsOnline Resources for Teachers and Students
Online Resources for Teachers and StudentsJeff Wheeler
 
Responsive Web Design: How the mobile web has changed the way we think and work
Responsive Web Design:  How the mobile web has changed the way we think and workResponsive Web Design:  How the mobile web has changed the way we think and work
Responsive Web Design: How the mobile web has changed the way we think and work
vq20
 

What's hot (20)

Understanding and Supporting Web Accessibility
Understanding and Supporting Web AccessibilityUnderstanding and Supporting Web Accessibility
Understanding and Supporting Web Accessibility
 
Digital accessibility intro 2021
Digital accessibility intro 2021Digital accessibility intro 2021
Digital accessibility intro 2021
 
Web Accessibility Testing With Axe
Web Accessibility Testing With AxeWeb Accessibility Testing With Axe
Web Accessibility Testing With Axe
 
What is WCAG 2 and why should we care?
What is WCAG 2 and why should we care?What is WCAG 2 and why should we care?
What is WCAG 2 and why should we care?
 
I Am the LAAW! (Lean Accessibility Audit Workshops)
I Am the LAAW! (Lean Accessibility Audit Workshops)I Am the LAAW! (Lean Accessibility Audit Workshops)
I Am the LAAW! (Lean Accessibility Audit Workshops)
 
Accessibility 2.0: Blended Learning For Blended Accessibility
Accessibility 2.0: Blended Learning For Blended AccessibilityAccessibility 2.0: Blended Learning For Blended Accessibility
Accessibility 2.0: Blended Learning For Blended Accessibility
 
DOC
DOCDOC
DOC
 
Plan For Accessibility - TODCon 2008
Plan For Accessibility - TODCon 2008Plan For Accessibility - TODCon 2008
Plan For Accessibility - TODCon 2008
 
Rebecca Topps - Mobile Accessibility
Rebecca Topps - Mobile AccessibilityRebecca Topps - Mobile Accessibility
Rebecca Topps - Mobile Accessibility
 
How to improve UX by implementing accessibility - WebExpo 2013 Edition
How to improve UX by implementing accessibility - WebExpo 2013 EditionHow to improve UX by implementing accessibility - WebExpo 2013 Edition
How to improve UX by implementing accessibility - WebExpo 2013 Edition
 
Blogs and Wikis: Web-based Business Collaboration Tools for the 21st Century
Blogs and Wikis:Web-based Business Collaboration Tools for the 21st CenturyBlogs and Wikis:Web-based Business Collaboration Tools for the 21st Century
Blogs and Wikis: Web-based Business Collaboration Tools for the 21st Century
 
Henry Charge - It's your job to make things accessible
Henry Charge - It's your job to make things accessibleHenry Charge - It's your job to make things accessible
Henry Charge - It's your job to make things accessible
 
Tools And Techniques For Evaluating Accessibility
Tools And Techniques For Evaluating AccessibilityTools And Techniques For Evaluating Accessibility
Tools And Techniques For Evaluating Accessibility
 
Web Accessibility 101
Web Accessibility 101Web Accessibility 101
Web Accessibility 101
 
Quick Web Accessibility - Sensory Therapy Gardens Manual
Quick Web Accessibility - Sensory Therapy Gardens ManualQuick Web Accessibility - Sensory Therapy Gardens Manual
Quick Web Accessibility - Sensory Therapy Gardens Manual
 
Top 20 Free Web Applications for Teachers and Librarians
Top 20 Free Web Applications for Teachers and LibrariansTop 20 Free Web Applications for Teachers and Librarians
Top 20 Free Web Applications for Teachers and Librarians
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Website development accessibility
Website development accessibilityWebsite development accessibility
Website development accessibility
 
Online Resources for Teachers and Students
Online Resources for Teachers and StudentsOnline Resources for Teachers and Students
Online Resources for Teachers and Students
 
Responsive Web Design: How the mobile web has changed the way we think and work
Responsive Web Design:  How the mobile web has changed the way we think and workResponsive Web Design:  How the mobile web has changed the way we think and work
Responsive Web Design: How the mobile web has changed the way we think and work
 

Similar to A Half Day Workshop on Building Accessible Websites For People With Disabilities

Accessibility and why it matters
Accessibility and why it mattersAccessibility and why it matters
Accessibility and why it matters
Margarida Sousa
 
Wordcamp buffalo
Wordcamp buffaloWordcamp buffalo
Wordcamp buffalothegeniusca
 
Wordcamp Toronto 2013
Wordcamp Toronto 2013Wordcamp Toronto 2013
Wordcamp Toronto 2013thegeniusca
 
Accessibility And 508 Compliance In 2009
Accessibility And 508 Compliance In 2009Accessibility And 508 Compliance In 2009
Accessibility And 508 Compliance In 2009
Emagination ®
 
Managing Accessibility Compliance
Managing Accessibility ComplianceManaging Accessibility Compliance
Managing Accessibility Compliance
Keana Lynch
 
Accessibility Quick Wins
Accessibility Quick WinsAccessibility Quick Wins
Accessibility Quick Wins
Jeff Reynolds
 
Web Content Accessibility Guidelines
Web Content Accessibility GuidelinesWeb Content Accessibility Guidelines
Web Content Accessibility Guidelines
PurnimaAgarwal6
 
Accessibility Workshop
Accessibility WorkshopAccessibility Workshop
Accessibility Workshop
Lar Veale
 
Seth Duffy Accessibility97035
Seth Duffy   Accessibility97035Seth Duffy   Accessibility97035
Seth Duffy Accessibility97035
FNian
 
Web topic 23 web accessibility
Web topic 23  web accessibilityWeb topic 23  web accessibility
Web topic 23 web accessibilityCK Yang
 
Four Principles of Accessibility UK Version
Four Principles of Accessibility UK Version Four Principles of Accessibility UK Version
Four Principles of Accessibility UK Version
Homer Gaines
 
Web Accessibility Overview
Web Accessibility OverviewWeb Accessibility Overview
Web Accessibility Overview
Will Jayroe
 
The Impact of Accessibility
The Impact of AccessibilityThe Impact of Accessibility
The Impact of Accessibility
Josh Amer
 
ATAGTR2017 SPEAKING EYE for differently abled people to see the web content
ATAGTR2017 SPEAKING EYE for differently abled people to see the web contentATAGTR2017 SPEAKING EYE for differently abled people to see the web content
ATAGTR2017 SPEAKING EYE for differently abled people to see the web content
Agile Testing Alliance
 
Wave training
Wave trainingWave training
Wave training
Sean Yo
 
WCAG
WCAGWCAG
Ideas 5 - Roger Hudson - Understanding WCAG 2.0
Ideas 5 - Roger Hudson - Understanding WCAG 2.0Ideas 5 - Roger Hudson - Understanding WCAG 2.0
Ideas 5 - Roger Hudson - Understanding WCAG 2.0
awia
 
Web accessibility is everyone's job
Web accessibility is everyone's jobWeb accessibility is everyone's job
Web accessibility is everyone's job
Remya Ramesh
 
Role of-engineering-best-practices-to-create-an-inclusive-web final-1
Role of-engineering-best-practices-to-create-an-inclusive-web final-1Role of-engineering-best-practices-to-create-an-inclusive-web final-1
Role of-engineering-best-practices-to-create-an-inclusive-web final-1
Srinivasu Chakravarthula
 

Similar to A Half Day Workshop on Building Accessible Websites For People With Disabilities (20)

Accessibility and why it matters
Accessibility and why it mattersAccessibility and why it matters
Accessibility and why it matters
 
Wordcamp buffalo
Wordcamp buffaloWordcamp buffalo
Wordcamp buffalo
 
Wordcamp Toronto 2013
Wordcamp Toronto 2013Wordcamp Toronto 2013
Wordcamp Toronto 2013
 
Accessibility And 508 Compliance In 2009
Accessibility And 508 Compliance In 2009Accessibility And 508 Compliance In 2009
Accessibility And 508 Compliance In 2009
 
Managing Accessibility Compliance
Managing Accessibility ComplianceManaging Accessibility Compliance
Managing Accessibility Compliance
 
Accessibility Quick Wins
Accessibility Quick WinsAccessibility Quick Wins
Accessibility Quick Wins
 
Web Content Accessibility Guidelines
Web Content Accessibility GuidelinesWeb Content Accessibility Guidelines
Web Content Accessibility Guidelines
 
Accessibility Workshop
Accessibility WorkshopAccessibility Workshop
Accessibility Workshop
 
Seth Duffy Accessibility97035
Seth Duffy   Accessibility97035Seth Duffy   Accessibility97035
Seth Duffy Accessibility97035
 
Web topic 23 web accessibility
Web topic 23  web accessibilityWeb topic 23  web accessibility
Web topic 23 web accessibility
 
Four Principles of Accessibility UK Version
Four Principles of Accessibility UK Version Four Principles of Accessibility UK Version
Four Principles of Accessibility UK Version
 
Web Accessibility Overview
Web Accessibility OverviewWeb Accessibility Overview
Web Accessibility Overview
 
The Impact of Accessibility
The Impact of AccessibilityThe Impact of Accessibility
The Impact of Accessibility
 
ATAGTR2017 SPEAKING EYE for differently abled people to see the web content
ATAGTR2017 SPEAKING EYE for differently abled people to see the web contentATAGTR2017 SPEAKING EYE for differently abled people to see the web content
ATAGTR2017 SPEAKING EYE for differently abled people to see the web content
 
Wave training
Wave trainingWave training
Wave training
 
Dfg Intranet Development
Dfg Intranet DevelopmentDfg Intranet Development
Dfg Intranet Development
 
WCAG
WCAGWCAG
WCAG
 
Ideas 5 - Roger Hudson - Understanding WCAG 2.0
Ideas 5 - Roger Hudson - Understanding WCAG 2.0Ideas 5 - Roger Hudson - Understanding WCAG 2.0
Ideas 5 - Roger Hudson - Understanding WCAG 2.0
 
Web accessibility is everyone's job
Web accessibility is everyone's jobWeb accessibility is everyone's job
Web accessibility is everyone's job
 
Role of-engineering-best-practices-to-create-an-inclusive-web final-1
Role of-engineering-best-practices-to-create-an-inclusive-web final-1Role of-engineering-best-practices-to-create-an-inclusive-web final-1
Role of-engineering-best-practices-to-create-an-inclusive-web final-1
 

More from Aayush Shrestha

Design and UX. An Introduction
Design and UX. An IntroductionDesign and UX. An Introduction
Design and UX. An Introduction
Aayush Shrestha
 
Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017
Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017
Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017
Aayush Shrestha
 
Workshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic FrameworkWorkshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic Framework
Aayush Shrestha
 
Power of Elastic Search - nLocate
Power of Elastic Search - nLocatePower of Elastic Search - nLocate
Power of Elastic Search - nLocate
Aayush Shrestha
 
JavaScript : What is it really? AND Some new features in ES6
JavaScript : What is it really? AND Some new features in ES6JavaScript : What is it really? AND Some new features in ES6
JavaScript : What is it really? AND Some new features in ES6
Aayush Shrestha
 
Facebook Open Graph API and How To Use It
Facebook Open Graph API and How To Use ItFacebook Open Graph API and How To Use It
Facebook Open Graph API and How To Use It
Aayush Shrestha
 
Understanding angular js
Understanding angular jsUnderstanding angular js
Understanding angular js
Aayush Shrestha
 
XBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASAXBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASA
Aayush Shrestha
 
XBRL Implementation for Financial Reporting
XBRL Implementation for Financial ReportingXBRL Implementation for Financial Reporting
XBRL Implementation for Financial Reporting
Aayush Shrestha
 

More from Aayush Shrestha (9)

Design and UX. An Introduction
Design and UX. An IntroductionDesign and UX. An Introduction
Design and UX. An Introduction
 
Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017
Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017
Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017
 
Workshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic FrameworkWorkshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic Framework
 
Power of Elastic Search - nLocate
Power of Elastic Search - nLocatePower of Elastic Search - nLocate
Power of Elastic Search - nLocate
 
JavaScript : What is it really? AND Some new features in ES6
JavaScript : What is it really? AND Some new features in ES6JavaScript : What is it really? AND Some new features in ES6
JavaScript : What is it really? AND Some new features in ES6
 
Facebook Open Graph API and How To Use It
Facebook Open Graph API and How To Use ItFacebook Open Graph API and How To Use It
Facebook Open Graph API and How To Use It
 
Understanding angular js
Understanding angular jsUnderstanding angular js
Understanding angular js
 
XBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASAXBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASA
 
XBRL Implementation for Financial Reporting
XBRL Implementation for Financial ReportingXBRL Implementation for Financial Reporting
XBRL Implementation for Financial Reporting
 

Recently uploaded

Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Sanjeev Rampal
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
VivekSinghShekhawat2
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 

Recently uploaded (20)

Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 

A Half Day Workshop on Building Accessible Websites For People With Disabilities

  • 1. ACCESSIBLE WEBSITES FOR PEOPLE WITH DISABILITIES AAYUSH SHRESTHA Chief of Design, nLocate
  • 2. TODAY’S WORKSHOP  PART I – Let’s get familiar  What is Accessibility and Why is it an issue?  Goals of Accessibility  Web Accessibility Initiative (WAI) by W3C  Web Content Accessibility Guidelines (WCAG)  Common Barriers in a website  Checklists when building an accessible website  Validating your website  Resource and Tools
  • 3. TODAY’S WORKSHOP  PART II – Disability Perspective  How do Visually Impaired people browse the web
  • 4. TODAY’S WORKSHOP  PART III – Building Blocks  The Low Hanging Fruits  Proper DOM structure  Managing Interactive Controls  Managing Focus and Navigation  Proper Labelling  When things get complicated  Introducing ARIA  Proactively managing focus  Simulating native behavior on custom controls  Validation using Validating tools
  • 5. PART I - LET’S GET FAMILIAR
  • 6. WHAT IS ACCESSIBILITY AND WHY IS IT AN ISSUE?
  • 7. The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect. -Tim Berners-Lee W3C Director and inventor of the World Wide Web
  • 8. WHAT IS ACCESSIBILITY AND WHY IS IT AN ISSUE?  1.94% of population, around 5,13,000 people in Nepal are physically disabled  94,000 are visually impaired, 79,000 have auditory disability  Countless old age people with partial visual and hearing abilities  Neglecting a BIG CHUNK of users
  • 9. WHAT IS ACCESSIBILITY AND WHY IS IT AN ISSUE?  Web is an essential communication tool  People with disabilities should have an equal and barrier-free access to information
  • 10. SO… WHAT IS ACCESSIBILITY?  Making products and services available and usable to all users regardless of  PHYSICAL ABILITY  SPEED OF INTERNET  DEVICE
  • 11. GOALS OF ACCESSIBILITY  Improve usability of technology for all users through Universal Design as an underlying approach  Support social inclusion and equal opportunities for people with disabilities  Business-wise  Accessibility overlaps with best web practices  Universal device independent design  Optimized usability and user experience  Search Engine Optimization
  • 12. WEB ACCESSIBILITY INITIATIVE (WAI) BY W3C  Initiative by W3c to bring together people from industries, disability organizations, policy makers, and research labs to develop rules and guidelines to help make web accessible  WAI has five levels of work  Ensuring that web technologies support accessibility  Developing guidelines for accessibility  Improving tools to evaluate and repair accessibility issues  Developing materials for education and outreach  Coordinating with research and development
  • 13. WEB CONTENT ACCESSIBILITY GUIDELINES (WCAG)  Guidelines defined by WAI  Describing how to make websites accessible  12 Guidelines. Under 4 Principles.  Each guideline has testable success criteria
  • 15. PERCEIVABLE  Information and User Interface must be presentable to users in a way they can perceive.  Text Alternatives: Provide text alternatives for any non-text content.  Time based media : Provide alternatives for time based media (Captions and Transcriptions for audio or video elements)  Adaptable: Create content that can be presented in different ways without using information or structure. Remove reliance on shape, size, location and/or orientation to navigate and understand  Distinguishable: Proper use of color with proper contrast and meaningful color representation. Text Resize Options. Do not use images of text as information.
  • 17. OPERABLE  User Interface components and navigation must be operable  Keyboard Accessible: All functionality of the website should be operable through keyboard. Avoid Keyboard Traps.  Enough Time: Avoid action timeouts. Give enough time to go through the content. No automatic redirects based on time.  Seizures: Avoid blinking screens (more than 3 times in a second) that could cause seizures.  Navigable: Provide ways to help users navigate, find content, and determine where they are. E.g. Skip To Content, Titled Pages, Proper focus order, Link Purpose, Proper semantic html
  • 19. UNDERSTANDABLE  Information and the Operation of User Interface must be understandable  Readable: Make text readable and understandable. Identification of language, glossaries of acronyms and unusual terms.  Predictable: Make websites work and behave in a predictable manner  Input assistance: Help user avoid and correct mistakes. Form labels and instructions. Error identification. Suggestions.
  • 21. ROBUST  Content must be robust enough that it can be interpreted reliably by a wide variety of user agents including assistive technologies.  Compatibility: Maximizing compatibility with current and future user agents including assistive features.
  • 23. VISUAL BARRIERS  Information contained within images without proper alt tags  Inconsistent navigation or content  Lack of adequate color contrast  Bad color combinations
  • 24. AUDIO BARRIERS  Lack of transcription or captioning  “Downloadable Files”  Auditory Stimulus without proper alternatives
  • 25. CHECKLIST FOR BUILDING WEBSITES  Check how the site works with :  Images turned off  Sounds turned off  Larger than normal font sizes  Small screen resolution  Black and white display  Without a mouse
  • 26. VALIDATION  Syntax Checkers. HTML Validators.  Accessibility Auditors  User Testing  Do it yourself
  • 27. RESOURCES AND TOOLS  Screen Readers : eg. ChromeVox and NVDA  HTML Validators : eg. W3C Validator  Auditor : Chrome Accessibility Auditor Extension
  • 28. PART II – DISABILITY PERSPECTIVE WITH SUSHIL ADHIKARI
  • 29. PART III – BUILDING BLOCKS
  • 30. HOW TO BUILD AN ACCESSIBLE WEBSITE?  Visually impaired people see your page through DOM  Keyboard Only users navigate through DOM  DOM is the mental image of the page  No Left-Right only Up-Down  Change of Mindset  Minor additions to our coding structure and style can bring a lot of difference  Fits right into good web practices for better code and better SEO  Things that we can do that will not require much extra effort
  • 32.
  • 34. PROPER DOM STRUCTURE  Make sure the page makes sense. DOM-wise.  Just because it looks right might not mean it will make sense to Keyboard-only users.  Keep keyboard navigation in mind.
  • 35. CREATE LOGICAL SECTIONS OF DOCUMENT <div class=“header”> <div id=“logo”><img src=“logo.png”></div> <div id=“nav”> // Menu </div> </div> <div class=“content”> </div> <div class=“footer”> </div> <header class=“header”> <div id=“logo”><img src=“logo.png”></div> <nav id=“nav”> // Menu </nav> </header> <section class=“content”> </section> <footer class=“footer”> </footer> NO YES
  • 36. PROPER INTERACTIVE CONTROLS <span onclick=“”> <div onclick=“”> <a href=“”> <button onclick=“”> NO YES  Screen Readers can’t identify generic divs and spans  They are not focusable by default  Cannot be activated with a keyboard
  • 37. LABELLING  Label form elements properly  Alt text for ALL images  Descriptive alt text for informative images  Blank alt text for decorative images (like bullets or icons)
  • 38. MANAGING FOCUS  Proactively manage focus to create an efficient workflow  Mange focus for dynamic DOM elements like Alert Box and Modals  Make sure focus is not dropped on the floor on exit
  • 40. CUSTOM CONTROLS  Re-implement all semantics of native control on custom control  Semantics  Keyboard Support  Focus Management
  • 42. ARIA – ACCESSIBLE RICH INTERNET APPLICATION  Set of ROLES, ATTRIBUTES and STATES that help make complex and dynamic web apps accessible  Helps in making Dynamic Content and Advanced UI Controls accessible
  • 43. ARIA ROLES  Used to define the function of elements  Helps identify the role of the element  4 types of ARIA Roles  Widget Roles  Composite Roles  Structure Roles  Landmark Roles
  • 44. ARIA ROLES - WIDGET ROLES  Defines different kinds of widgets in a page  Dialog, AlertDialog, Alert  Button  Checkbox, Radio, Progressbar  Link
  • 45. ARIA ROLES - WIDGET ROLES <div id="modal"> <h1>Do you want to make accessible websites?</h1> <button class="button" onclick="closeModal()">OK</button> <button class="button“ onclick="closeModal()">Cancel</button> </div> <div id="modal" role="dialog"> <h1 role="alert">Do you want to make accessible websites?</h1> <button class="button" onclick="closeModal()">OK</button> <button class="button" onclick="closeModal()">Cancel</button> </div>
  • 46. ARIA ROLES - COMPOSTE ROLES  Group element roles  Grid -> row, gridcell, rowheader, columnheader  Menu -> Menuitem, Menuitemcheckbox, Menuitemradio  Tablist -> Tab and Tabpanel
  • 47. ARIA ROLES - STRUCTURE ROLES  Defines roles for document structure  Article  Heading  Toolbar  Img  Seperator
  • 48. ARIA ROLES - LANDMARK ROLES  Intended for navigational landmarks  Banner  Form  Main  Navigation  Search
  • 49. ARIA ROLES - LANDMARK ROLES <header class="header"> <nav class="menu"> <section class="body"> <header class="header“ role=“banner”> <nav class="menu“ role=“navigation”> <section class="body“ role=“main”>
  • 50. ARIA STATES AND PROPERTIES  ARIA states and properties are used to define variable states of elements according to user interaction  Aria-checked  Aria-disabled  Aria-expanded  Aria-hidden  Aria-invalid  Aria-pressed  Aria-readonly  Aria-valuenow, aria-valuemax, aria-valuemin
  • 51. TAB INDEX  Custom interactive elements are not focusable by default  Will not highlight by TAB-navigation  Will not handle keyboard events <div class=“button” role=“button”>Select Preferences</div> <div class=“button” role=“button” tabindex=“0”>Select Preferences</div>
  • 52. CUSTOM KEYBOARD SUPPORT  Mimic expected behavior  [ENTER] or [SPACE] for select/deselect  [ESC] for exit  [TAB] for jumping between links
  • 53. CUSTOM KEYBOARD SUPPORT <div class=“button” role=“button” onkeypress="checkhoverpress(event)">Select Preferences</div> function checkhoverpress(e) { //Check Enter key and Space Key if(e.charCode == 13 || e.charCode == 32) { showMenu(); } }
  • 54. CONTRAST  Visual presentation of text and images of text should have proper contrast between background and color of the text for proper usability  Conrast Ratio of 4.5:1 for normal text  For large text, 3:1
  • 56. SKIP TO CONTENT NAVIGATION  A link at the top of the page saying “Skip To Navigation”  Helps Keyboard users to skip directly to the content part of the website without having to go through other navigation elements like Header, Navigation Menu, etc <a href="#content" id="skiptocontent">Skip To Content</a> <article class="content" id="content">
  • 57. VALIDATING USING ACCESSIBILITY AUDIT TOOL  Accessibility Audit Chrome Extension

Editor's Notes

  1. Text Alternatives : Short equivalents for images, including icons, buttons, and graphics Description of data represented on charts, diagrams, and illustrations Brief descriptions of non-text content such as audio and video files Labels for form controls, input, and other user interface components Time Based Media : Text transcripts and captions of audio content, such as recordings of people speaking Audio descriptions, which are narrations to describe important visual details in a video Sign language interpretation of audio content, including relevant auditory experiences
  2. Go To Demo : Logical Sections Before.
  3. Go To Demo : Logical Sections Before and then move to Logical Sections After
  4. Go to Demo : Interactive Controls Before… and then to Interactive Controls After
  5. Go to demo : Labelling
  6. Go to demo : Managing Focus
  7. Go to demo : Managing Focus after aria
  8. Go to demo : Logical Sections after aria
  9. Go to demo Complex document Before and After
  10. Go to demo : Logical Setion skip to content