SlideShare ist ein Scribd-Unternehmen logo
1 von 58
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

Weitere ähnliche Inhalte

Was ist angesagt?

Understanding and Supporting Web Accessibility
Understanding and Supporting Web AccessibilityUnderstanding and Supporting Web Accessibility
Understanding and Supporting Web AccessibilityRachel Cherry
 
Digital accessibility intro 2021
Digital accessibility intro 2021Digital accessibility intro 2021
Digital accessibility intro 2021Joshua Randall
 
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 Accessibilitylisbk
 
Plan For Accessibility - TODCon 2008
Plan For Accessibility - TODCon 2008Plan For Accessibility - TODCon 2008
Plan For Accessibility - TODCon 2008Denise Jacobs
 
Rebecca Topps - Mobile Accessibility
Rebecca Topps - Mobile AccessibilityRebecca Topps - Mobile Accessibility
Rebecca Topps - Mobile AccessibilityFrontEnders
 
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 EditionRadek 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 Centurytoddogas
 
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 accessibleFrontEnders
 
Tools And Techniques For Evaluating Accessibility
Tools And Techniques For Evaluating AccessibilityTools And Techniques For Evaluating Accessibility
Tools And Techniques For Evaluating AccessibilityRachel Cherry
 
Web Accessibility 101
Web Accessibility 101Web Accessibility 101
Web Accessibility 101Eric 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 ManualKlausGroenholm
 
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 LibrariansSteve Yuen
 
Website development accessibility
Website development accessibilityWebsite development accessibility
Website development accessibilityIlesh 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 workvq20
 

Was ist angesagt? (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
 

Ähnlich wie 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 mattersMargarida 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 2009Emagination ®
 
Managing Accessibility Compliance
Managing Accessibility ComplianceManaging Accessibility Compliance
Managing Accessibility ComplianceKeana Lynch
 
Accessibility Quick Wins
Accessibility Quick WinsAccessibility Quick Wins
Accessibility Quick WinsJeff Reynolds
 
Web Content Accessibility Guidelines
Web Content Accessibility GuidelinesWeb Content Accessibility Guidelines
Web Content Accessibility GuidelinesPurnimaAgarwal6
 
Accessibility Workshop
Accessibility WorkshopAccessibility Workshop
Accessibility WorkshopLar Veale
 
Seth Duffy Accessibility97035
Seth Duffy   Accessibility97035Seth Duffy   Accessibility97035
Seth Duffy Accessibility97035FNian
 
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 OverviewWill Jayroe
 
The Impact of Accessibility
The Impact of AccessibilityThe Impact of Accessibility
The Impact of AccessibilityJosh 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 contentAgile Testing Alliance
 
Wave training
Wave trainingWave training
Wave trainingSean Yo
 
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.0awia
 
Web accessibility is everyone's job
Web accessibility is everyone's jobWeb accessibility is everyone's job
Web accessibility is everyone's jobRemya 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-1Srinivasu Chakravarthula
 

Ähnlich wie 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
 

Mehr von Aayush Shrestha

Design and UX. An Introduction
Design and UX. An IntroductionDesign and UX. An Introduction
Design and UX. An IntroductionAayush 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 2017Aayush 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 FrameworkAayush Shrestha
 
Power of Elastic Search - nLocate
Power of Elastic Search - nLocatePower of Elastic Search - nLocate
Power of Elastic Search - nLocateAayush 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 ES6Aayush 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 ItAayush Shrestha
 
Understanding angular js
Understanding angular jsUnderstanding angular js
Understanding angular jsAayush Shrestha
 
XBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASAXBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASAAayush Shrestha
 
XBRL Implementation for Financial Reporting
XBRL Implementation for Financial ReportingXBRL Implementation for Financial Reporting
XBRL Implementation for Financial ReportingAayush Shrestha
 

Mehr von 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
 

Kürzlich hochgeladen

Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfJOHNBEBONYAP1
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsMonica Sydney
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdfMatthew Sinclair
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftAanSulistiyo
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrHenryBriggs2
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.krishnachandrapal52
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoilmeghakumariji156
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsMonica Sydney
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdfMatthew Sinclair
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdfMatthew Sinclair
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样ayvbos
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Roommeghakumariji156
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxgalaxypingy
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查ydyuyu
 

Kürzlich hochgeladen (20)

Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 

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

Hinweis der Redaktion

  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