34
2 How do Mobile Apps Measure Up to Accessibility Standards? Brian Cragun, David Todd IBM Human Ability and Accessibility Center February 27, 2013

How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

  • Upload
    vunhi

  • View
    221

  • Download
    1

Embed Size (px)

Citation preview

Page 1: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

2

How do Mobile Apps Measure Up to Accessibility Standards?

Brian Cragun, David ToddIBM Human Ability and Accessibility CenterFebruary 27, 2013

Page 2: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

3 © 2013 IBM Corporation

Have you wondered…

• What are the strengths and limitations of mobile platforms to create accessibile applications?

• Which accessibility standards apply to mobile platform development?

• How can mobile platform capabilities be adapted to standards compliance?

• How should an enterprise approach an accessible mobile strategy?

• What testing options are available for assessing mobile accessibility?

Pho

to c

redi

t: Fl

ickr

/ Col

in_K

Page 3: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

4 © 2013 IBM Corporation

Agenda for Mobile Accessibility

• Mobile platform growth• Mobile platform capabilites• Mobile platform standards lacking• Creating an enterprise plan• Select and validate platforms• Mapping to accessibility standards• Adapting for gaps and limitations • Putting testing to the test• Next steps

Pho

to c

redi

t: Fl

ickr

/ Fut

Und

Bei

dl

Page 4: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

5 © 2013 IBM Corporation

Disclaimers

• We’ll talk about how IBM is approaching mobile accessibility to try to help you make good decisions and strategies– This is not an announcement of products or

services• Companies, platforms and products mentioned

hold rights to their respective trademarks– No endorsement of other products is inferred

• Conclusions are based on 2012 research, testing, and experience.– There may be errors, omissions, and missed

capabilities– Platforms are continually improving

• Standards analysis is based on our current understanding of current standards– Standards are evolving (especially 508)– Understanding of standards applicability is

evolving.• I am not a lawyer

– So even these statements may not be adequate disclaimers.

Pho

to c

redi

t: Fl

ickr

/Kat

ie T

egtm

eyer

Page 5: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

6 © 2013 IBM Corporation

Smartphone Platform Growth

20102009

1,200 million

SmartphoneSales

2011 2012 2013

1,000 million

800 million

600 million

400 million

200 million

20102009

1,200 million

SmartphoneSales

2011 2012 2013

1,000 million

800 million

600 million

400 million

200 million

• 6 Billion mobile devices• 20% are smart phones• In US 50% are smart phones.• 1.2 Billion smart phones WW 2013

2011: smart phones outsell PCs

2015: tablets outsell PCs

Page 6: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

7 © 2013 IBM Corporation

Accessibility beyond DisabilitiesAnywhere access creates challenges

Outside lightAmbient noise

One handEyes Busy

Aging Eyes

Public place Bumpy road

Mobile accessibility is more than making web content accessible to people with disabilities – but it begins there.

Page 7: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

8

Mobile accessibility strategy factors

• Narrow down the many mobile options– Types of devices – touchscreen, keypad, tablet …– Platforms – Windows®, iOS, Blackberry®, Android™ …– Browsers – Safari®, Opera™ Mobile/Mini, Fennic…– Native – Voiceover (iOS), zoom, black on white…– Third party assistive technology – Talkback™

• What devices to support?– Market share– Accessibility and security support– What your users are using – Appplication availability– Platform development

Photo credit: Flickr / FutUndBeidl

Page 8: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

Feature fight affects accessibility

Photo credit: Flickr / laihiuyeung ryanne

Page 9: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

10 © 2013 IBM Corporation

Major Smart Phone Accessibility Feature iOS Android RIM

Smart Phone Market US (Dec 2012*) 53% 41% 1%

Smart Phone Market Europe (4Q 2012*) 16% 72% 1%

Zoom mode Y N N

Large text Y (limited) Y (limited) Y

High Contrast Reverse Reverse (4.1) Y

Screen Reader Y Y 3P$$ (One model)

Basic Web Browser reading Y Partial 3P$$ Limited

Web 2.0 reading (WAI-ARIA Support) Partial Partial N

HTML 5 Partial Partial Partial

Camera (magnify, bar code, color recog.) Y Y Y

Accessibility API Y Partial Partial

Haptic Feedback Y Y Some

Keyboard support Y Y Y

Switch support Y Y ?

Field navigation Y Y (4.1) Y

Legend: Y (yes), 3P (third party), $ (small additional cost), $$ (significant additional cost), Some (some phone models), Partial (incomplete support), ? (Unknown) * Market data source: Kantar ** Measured November 2012

Page 10: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

11 © 2013 IBM Corporation

Platform Accessibility Resources

Accessibility Programming Guide for iOShttp://bit.ly/Kaaa9i

Android Designing for Accessibility http://bit.ly/IxuFtK

Blackberry Accessibility http://bit.ly/VKXo37

Microsoft UI Automation http://bit.ly/TZdUkJ

Page 11: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

1 © 2013 IBM Corporation

Mobile Accessibility Lags Adoption

Page 12: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

13 © 2013 IBM Corporation

Enterprise Mobile Accessibility Strategy

• Validate platform (s)• Confirm applicable standards• Map standards to platform (s)• Document development techniques • Document testing guidelines• Provide exception verbiage• Review• Socialize• Validate

– Early adoption• Integrate• Mandate

Photo credit: Flickr / FutUndBeidl

Page 13: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

Meeting Standards

Pho

to c

redi

t: Fl

ickr

/ZeR

o`S

KiL

L

14

Page 14: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

15 © 2013 IBM Corporation

Mobile App Architectures

Platform-specific. High quality. Code each platform.More OS release volatility.

Native Application

Device APIs

1001010101011101001010010010101110100100110101010101001001001011110010011001010101001010101010010101010101010101010111111000001010101010101001001010101010101000111101010001111010100111010101111100101101111010001011001110

Mixed web and native components.

Native services.

Native Shell

Web Native

Device APIs

<!DOCTYPE html PUBLICcreated 2003-12</p></body></html>

10010101010111010010101010101010010010010111100100110010

Web app packaged in native shell.CSS skins.Native services.

Native Shell

Web Code<!DOCTYPE html PUBLIC<html><! - - created 2003-12-1<head><title>XYZ</title</head></body></html>

Device APIs

HTML5, JavaScript®.CSS skins.Develop faster.Develop cheaper. Result less powerful.No native services.

Mobile Browser

Web Code

< DOCTYPE html PUBLIC<html><! - - created 2003-12-12 --<head><title>XYZ</title></head><body></p></body></html>

Browser Access Downloadable Downloadable Downloadable

Mobile Browser Hybrid Apps - Web Hybrid Apps-Mixed Native Apps

Platform-specific. High quality. Code each platform.More OS release volatility.

Native Application

Device APIs

1001010101011101001010010010101110100100110101010101001001001011110010011001010101001010101010010101010101010101010111111000001010101010101001001010101010101000111101010001111010100111010101111100101101111010001011001110

Native Application

Device APIs

1001010101011101001010010010101110100100110101010101001001001011110010011001010101001010101010010101010101010101010111111000001010101010101001001010101010101000111101010001111010100111010101111100101101111010001011001110

1001010101011101001010010010101110100100110101010101001001001011110010011001010101001010101010010101010101010101010111111000001010101010101001001010101010101000111101010001111010100111010101111100101101111010001011001110

Mixed web and native components.

Native services.

Native Shell

Web Native

Device APIs

<!DOCTYPE html PUBLICcreated 2003-12</p></body></html>

10010101010111010010101010101010010010010111100100110010

Native Shell

Web Native

Device APIs

<!DOCTYPE html PUBLICcreated 2003-12</p></body></html>

<!DOCTYPE html PUBLICcreated 2003-12</p></body></html>

10010101010111010010101010101010010010010111100100110010

10010101010111010010101010101010010010010111100100110010

Web app packaged in native shell.CSS skins.Native services.

Native Shell

Web Code<!DOCTYPE html PUBLIC<html><! - - created 2003-12-1<head><title>XYZ</title</head></body></html>

Device APIs

Native Shell

Web Code<!DOCTYPE html PUBLIC<html><! - - created 2003-12-1<head><title>XYZ</title</head></body></html>

<!DOCTYPE html PUBLIC<html><! - - created 2003-12-1<head><title>XYZ</title</head></body></html>

Device APIs

HTML5, JavaScript®.CSS skins.Develop faster.Develop cheaper. Result less powerful.No native services.

Mobile Browser

Web Code

< DOCTYPE html PUBLIC<html><! - - created 2003-12-12 --<head><title>XYZ</title></head><body></p></body></html>

Mobile Browser

Web Code

< DOCTYPE html PUBLIC<html><! - - created 2003-12-12 --<head><title>XYZ</title></head><body></p></body></html>

< DOCTYPE html PUBLIC<html><! - - created 2003-12-12 --<head><title>XYZ</title></head><body></p></body></html>

Browser Access Downloadable Downloadable Downloadable

Mobile Browser Hybrid Apps - Web Hybrid Apps-Mixed Native Apps

Page 15: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

16 © 2013 IBM Corporation

Which Accessibility Standard?Different accessibility standards apply to different architectures:

Web UIassessed usingWCAG 2.0

Native UIassessed usingSection 508

Hybrid Mixassessed using

???

Page 16: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

17 © 2013 IBM Corporation

Approach to Guidance Development

• Use WCAG 2.0 specification for web / hybrid web content• Use 508 specification for native / mostly native content• Provide developers “Templates” to map to checkpoints

Templates define how to fill in standards specifications for mobile

• Interpret how requirements are applied and tested for mobile

• List requirements not required or not applicable to mobile

• Provide explanatory or exception verbiage to use in comments

– Verbiage used in VPAT• Retain documentation for audits• Teams monitored internally for compliance

Page 17: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

18 © 2013 IBM Corporation

Mobile Limitation - Keyboards

Keyboard• Some devices have no physical keyboard (iOS, Android)• Paired Bluetooth® keyboard navigation doesn’t always

match WAI-ARIA convention (iOS)• Paired Bluetooth keyboard interface doesn’t provide

adaptive keyboard (iOS, Android)– Sticky keys, repeat control, etc.

• Cost prohibitive and inconsistent to have each team implement specialized keyboard handling

Approach:• Achieve accessibility using paired Bluetooth keyboard when

not built-in• Follow platform keyboard conventions• Document adaptive platform limitations

– 508 1194.21(b) Keyboard accessibility features• Sufficiently meets keyboard requirements

– WCAG 2.1.1 keyboard– 508 1194.21(a) keyboard equivalents

Tested November 2012

Photo credit: Flickr / Joahn Larsson

Page 18: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

19 © 2013 IBM Corporation

Mobile Limitation – Large Fonts

Large fonts• Incomplete large font mode (iOS, Android)• Large font setting works only with some default

apps (iOS) and on some fields (iOS, Android)• Font size is not available to programmers (iOS)• Cost prohibitive and inconsistent to have each app

developer implement large font profiles

Approach• iOS: use built-in Zoom feature• Sufficiently meets requirements for large fonts

– 508 1194.21 (g) Inherit system settings– WCAG AA 1.4.4 Resize text (user agent)

• In conjunction with high contrast satisfies equivalent facilitation

– 508 1194.22 (l) Cascading style Sheets• Android: no current approach

Tested November 2012

Pho

to c

redi

t: Fl

ickr

/ Fut

Und

Bei

dl

Page 19: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

20 © 2013 IBM Corporation

Mobile Limitation - High Contrast

High contrast• No high contrast setting (iOS, Android)• Reverse video mode (iOS)

– reverses everything: good and bad contrast• Good contrast must be provided by app• Cost prohibitive and inconsistent to have each app

developer implement user color/contrast profiles

Approach• Require apps to meet recommended contrast

– WCAG AA 1.4.3 Contrast minimum• In conjunction with reverse video provides 2 high contrast modes (iOS)• Sufficiently meets requirements for high contrast

– 508 1194.21(g) Inherit system settings– 508 1194.21 (j) Color selections– WCAG AA 1.4.3 Contrast minimum

• In conjunction with large fonts satisfies equivalent facilitation– 508 1194.22(d) Cascading style Sheets

Tested November 2012

Page 20: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

21 © 2013 IBM Corporation

Avoiding problems – Toolkit limitations

Mobile Toolkit Accessibility Limitations• IBM utilizes Dojo Mobile

– Testing found only 15% compliant widgets• Other Toolkits not tested

Approach• Test and document your mobile toolkit

– Enterprise standardization may reduce effort• Document accessible widgets• Teams work with compliant widgets• Use HTML5 alternatives where possible• Document defects to Toolkit • Applies to most web checkpoints, especially

– WCAG 2.1.1 Keyboard– WCAG 4.1.2 Name, role, value

Note: Native widgets highly accessibleTested November 2012

Page 21: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

22 © 2013 IBM Corporation

Mobile Limitations – No Flash

Flash• iOS devices do not support Adobe® Flash®

– Not likely to change• Flash on Android may not be accessible

Approach:• Require teams to use non-Flash solutions for:

– CAPTCHA– Media players– Widgets

• Applies to checkpoints:– WCAG 1.1.1 Non-text content– WCAG 2.1.4 No keyboard trap

• Defect opened for Dojo Mobile to provide accessible media player

Tested November 2012

Page 22: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

23 © 2013 IBM Corporation

Mobile Limitations – Navigation

Navigation • Support for navigation between fields

with keyboard is necessary – Available in iOS 4.0+– Not present in Android 4.0– May be sufficient on Android 4.1

Approach:• Implement to capabilities of platform• Certify only on compliant platforms

Tested November 2012

Page 23: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

24 © 2013 IBM Corporation

Mobile Limitations - Browser WAI-ARIA

Browser WAI-ARIA limitations• Safari has some gaps in WAI-ARIA support

– Landmarks spoken but not differentiated– WAI-ARIA dialog does not work correctly– Alert dialog does not work correctly

• Other mobile browsers untested– Embedded platform browser is key

Approach:• Accept and document landmark limitation• Require teams to use alternatives to WAI-ARIA

dialog and Alert dialog– Open defect

• Applies to checkpoints:– Web 2.1a Keyboard– Web 2.4a Navigate to main– Web 2.4e Focus order– Web 3.3a Error identification– Web 4.1b Name, role, value

Tested November 2012

Photo credit: Flickr / Joahn Larsson

Page 24: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

Inspection and Testing

Pho

to c

redi

t: Fl

ickr

/alte

mar

k

Page 25: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

26 © 2013 IBM Corporation

Multi-faceted Testing

Page 26: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

27 © 2013 IBM Corporation

Inspection Tools

• xCode® provides Accessibility Inspector on iOS simulator

Page 27: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

28 © 2013 IBM Corporation

User Agent Switching

• Browsers have a UserAgent identifier• Browsers plug-ins allow the browser to claim it is something else.

– Available on Firefox® and Chrome™– Can set the plug-in to claim it is mobile

• Testing assumes that mobile DOMs are the same.

Page 28: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

29 © 2013 IBM Corporation

IBM’s Mobile Foundation

IBM Worklight for cross platform development• Allows one application for multiple platforms

– CSS, JavaScript for look and feel• Utilizes Cordova (was PhoneGap) open source

– Access to platform services• Allows mix of native and web pages• Support for Dojo Mobile, jQuery, Sencha touch™• Server interaction and update• Cross platform services

IBM Rational Policy Tester for automated web testing• Dynamic Assessment Plugin

Page 29: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

30 © 2013 IBM Corporation

Testing: Web Elements in Simulator

• Worklight Simulator • Firefox browser• Use RPT DAP• Mobile is a frame

– Isolates from other errors in test web page

– Identifies elements– Same frame name as

the app name

• Works for web and web hybrid

Page 30: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

31 © 2013 IBM Corporation

Where things are going

Standards developments• Indie UI• Access 4 All• Section 508 refresh will align with

WCAG 2.0 AA• Seeking clarifications from U.S. Access

Board for standards application to mobile

Platforms• Continual improvement

Testing• Need better test tools Photo credit: Flickr / Nicholas_T

Page 31: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

32 © 2013 IBM Corporation

Summary

• Mobile platforms have various and evolving strengths

• Highly accessible applications can be created• Standards can be applied

– Application may evolve

• Enterprises should create strategy– Supported platforms – Approach to development– Standards and testing approach

• Testing options remain heavily manual – Some automation available for web– Inspection tools available

Page 32: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

33 © 2013 IBM Corporation

Acknowledgements

• Thanks to the following individuals– Richard Schwerdtfeger– Matt King– David Dracoules– Susann Keohane– Tom Brunet– Phill Jenkins

Photo credit: Flickr / Mike Licht, Notions Capital.com

Page 33: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

34 © 2013 IBM Corporation

Questions?

Page 34: How do Mobile Apps Measure Up to Accessibility Standards? · PDF fileHow do Mobile Apps Measure Up to Accessibility Standards? ... accessibility to try to help you make good ... Web

36 © 2013 IBM Corporation

Trademark Attributions

The following trademarks are registered in the U.S. and other countries:

• Adobe and Flash are registered trademarks of Adobe Systems Inc. • Android and Chrome are trademarks of Google Inc. • Blackberry is a registered trademark of Research in Motion Inc.• Bluetooth is a registered trademark of Bluetooth SIG.• Firefox is a trademark of the Mozilla Foundation.• JavaScript is a trademark of Oracle Inc. • Opera is a trademarks of Opera Software ASA. • Safari and xCode are trademarks of Apple Inc. • Sencha Touch is a trademark of Sencha. • TalkBack is a trademark of SupportSoft Software, Inc. • Windows is a registered trademark of Microsoft Corporation, Inc.