to web accessibility manual and automated way and... · demo of automated accessibility tool -...

24
Manual and Automated way to Web Accessibility Sparshi Dhiman | @Dsparshi

Upload: others

Post on 23-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

Manual and Automated way to Web Accessibility

Sparshi Dhiman | @Dsparshi

Page 2: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

WHAT’S IN STORE?❖ Accessibility Testing - What❖ Accessibility Testing - Why❖ Overview of accessibility standards ❖ Understanding - Usability and Accessibility ❖ Accessibility Testing - Manual and Automated approaches❖ Demo of automated accessibility tool - a11y

Page 3: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

STATISTICS❖ According to WHO 15% of world’s population is differently abled.❖ Among the five types of disabilities on which data has been collected,

➢ Disability in seeing - 48.5%➢ Disability in movement (27.9%) ➢ Disability in speech (7.5%) ➢ Disability In hearing (5.8%)➢ Mental Disability(10.3%)

Page 4: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY - WHAT

Accessibility Testing ensures that the application being tested is usable by people with different abilities.

Disability only exists if we don’t provide ways to include people as people have impairments NOT disabilities.

In nutshell, accessibility is about enabling people.

Page 5: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

EXAMPLES

Page 6: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

BAD

Page 7: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

GOOD

Page 8: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

Accessibility is the key to make web more inclusive.

Page 9: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY - WHY? Accessibility costs LESS than NOT doing accessibility

❖ Easily accessible app reach more customers.❖ Maintain Customer Loyalty and Brand Value❖ Accessible website yield a good SEO(Search Engine Optimization) ❖ Abide by Accessibility Legislations and Avoid Potential Law-suits *

*Lawyers are more expensive than developers

Page 10: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY STANDARDS WCAG 2.0 & GSA SECTION 508

❖ Web Content Accessibility Guidelines by W3C

▸ WCAG 2.0: Dec 11, 2008

❖ General Services Administration Section 508 Standards

▸ United States Federal Act. Published in Dec 2000.

Page 11: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

WCAG 2.0DESIGN PRINCIPLES OF WEB ACCESSIBILITY

❖ Perceivable ❖ Operable ❖ Understandable ❖ Robust

Reference: https://www.w3.org/TR/WCAG20/

Page 12: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

WCAG 2.0 - SUCCESS CRITERIA LEVELS - A, AA & AAA

❖ Level A - basic web accessibility features ❖ Level AA - deals with the biggest and most common barriers for disabled

users ❖ Level AAA – the highest level of web accessibility

Reference: https://www.w3.org/WAI/WCAG20/quickref/

Page 13: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

USABILITY & ACCESSIBILITY

Accessibility Testing is subset of usability testing, which ensures that the application cater to all sets of people and NOT just limited to disabled people.

❖ ‘Access’ibility - The Right to use ❖ ‘Use’ability - The ease of use

Page 14: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY TESTING - HOW?

Manual & Automated

Page 15: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY BASICS ❖ Alternative text❖ Heading and Semantics❖ Keyboard Interactivity ❖ Focus Management

More Principles

Page 16: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY TESTING - MANUAL ❖ Tab through a page with keyboard

DEMO : webaim.org

Page 17: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY TESTING - MANUAL❖ Test using screen reader

Page 18: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY TESTING - MANUALUse a screen reader❖ Headings and Semantics

Firefox web developer plugin

Screen readers use Heading structures to get an overall understanding of the page. Check for “View Document Outline”

❖ Reference: http://webaim.org/techniques/semanticstructure/

Page 19: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled
Page 20: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY TESTING - PARTLY AUTOMATED❖ Chrome Browser Plugin - Accessibility Developer Tools❖ Reference :

https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_html_02

Page 21: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled
Page 22: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

ACCESSIBILITY TESTING - FULLY AUTOMATED❖ a11y - By Addy Osmani❖ A11y is a tool to run accessibility audits for web❖ NPM is required prior to installation

$ npm install --global a11y

Page 23: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

REFERENCES

❖ https://www.w3.org/WAI/intro/wcag❖ https://github.com/addyosmani/a11y

Page 24: to Web Accessibility Manual and Automated way and... · Demo of automated accessibility tool - a11y. STATISTICS According to WHO 15% of world’s population is differently abled

THANKYOU