Accessible UX: Going beyond WCAG (#LWSa11y)

66
Accessible UX Going beyond WCAG 16 May 2016 Jon Gibbins, @dotjay @webstandards #lwsA11y #a11y #UX

Transcript of Accessible UX: Going beyond WCAG (#LWSa11y)

Page 1: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UXGoing beyond WCAG

16 May 2016

Jon Gibbins, @dotjay

@webstandards #lwsA11y #a11y #UX

Page 2: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Jon Gibbins▸ Digital accessibility consultant at Dig Inclusion,

Bristol▸ Testing, training, development, support▸ Web, mobile, PDF, ebook

Page 3: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX

Page 4: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Problems1. Accessibility cannot be done by one person in your team • Raise awareness • Teach

Page 5: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Problems2. QA and testing often too late for accessibility • Bake it into the process - accessible UX!

Page 6: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Problems3. Accessibility not built into development processes • BS 8878 • Not a set of development guidelines. • Project management roadmap for ensuring that web products are built in an accessible way.

Page 7: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

I don’t have all the answers▸ Accessibility is contextual▸ Accessibility comes with experience▸ Accessibility is not just about code

Page 8: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Page 9: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Incorporate accessibility in UX design process▸ Research▸ Define▸ Wireframe▸ Test with people▸ Iterate

Page 10: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Research▸ Think about accessibility early▸ Accessibility more likely to

▸ get baked into prototypes▸ persist through development▸ make it into production at an acceptable level

Page 11: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Research▸ Putting people first goes a long way towards

accessibility▸ Include people with disabilities for diverse personas

▸ Different disabilities, different needs▸ Older people (often first time users)▸ Plan to test with similar people

Page 12: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Define▸ Information architecture

▸ Plan understandable structure▸ Plan heading structure

Page 13: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Define▸ Labelling

▸ Use concise, clear, consistent and descriptive labels▸ Navigation▸ Link text

Page 14: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Design▸ Design with accessibility in mind

▸ Multimodal interactions – choice▸ Familiarity

▸ Design patterns▸ Iconography

▸ Layout▸ Content order

Page 15: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Design▸ Contrast

▸ 4.5:1 at least (higher for mobile – see later)▸ Colour combinations

▸ Avoid red/green▸ Avoid red/black▸ Don’t use colour alone▸ Test using colour blindness tools

Page 16: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

http://webaim.org/resources/designers/

Page 17: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Wireframe▸ Wireframe with accessibility in mind

▸ Fix accessibility before it hits the screens, e.g. order

▸ Documenting accessibility as you go will help future iterations

▸ Annotate wireframes with accessibility detail▸ Show structure, headings, labels, order

Page 18: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Page 19: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

“Menu”

Articleheadings

Page 20: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Test▸ Incorporate people with disabilities

▸ Wireframe and design reviews▸ Prototype testing▸ User testing

▸ User sessions, be prepared for interactions to take longer

▸ Is the test lab accessible? Can you test at home or remotely?

Page 21: Accessible UX: Going beyond WCAG (#LWSa11y)

UX meets WCAG

Page 22: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Page 23: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Information & Relationships▸ Sometimes adding semantics is not enough▸ Did you know?

▸ Does <em> or <strong> get pronounced differently in screen readers?

Page 24: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Information & Relationships▸ Sometimes adding semantics is not enough▸ Did you know?

▸ Does <em> or <strong> get pronounced differently in screen readers? Not by default!

▸ Do not rely on them for very important information.▸ Consider whether the content deserves to be a

heading, or could be supplemented with iconography (alternative text), etc.

Page 25: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Information & Relationships▸ Use of structure helps

▸ Context▸ Overview▸ Navigation▸ Also breaks up content to make is more digestible

▸ Markup▸ Headings▸ Landmarks▸ Lists

Page 26: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Language▸ Define for page▸ Define where there are changes▸ If you don’t…

Page 27: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Language<p>Sur le Pont d'AvignonL'on y danse, l'on y danseSur le Pont d'AvignonL'on y danse tous en rond</p>

Page 28: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Language<p lang="fr">Sur le Pont d'AvignonL'on y danse, l'on y danseSur le Pont d'AvignonL'on y danse tous en rond</p>

Page 29: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Instruction & Orientation▸ Informative label text▸ Informative heading text▸ Informative error messages

Page 30: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Images of Text▸ We know about alternative text▸ Images of text is not flexible

▸ Cannot be selected▸ Cannot be used with “Speak Selection” features▸ Sighted screen reader user?!

Page 31: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Content (WCAG 2.0 Level AAA)▸ Reading level

▸ Use of plain language whenever possible▸ Avoid unnecessary jargon and slang

▸ Line length▸ Do not use justified text▸ Glossary

Page 32: Accessible UX: Going beyond WCAG (#LWSa11y)

Beyond WCAG

Page 33: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Design▸ Sans-serif fonts for body text▸ Supplementing with imagery and iconography

▸ WCAG doesn't really cover this▸ Helps people with learning disabilities, dyslexia,

reading a second language

Page 34: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Design for mobile▸ Touch target sizes and spacing

▸ When designing for touch, make sure the tap size of the navigation item is at least 7mm (equivalent)

▸ Finger tips are ~7mm▸ Reachability▸ Zoom design

▸ Labels above control▸ Higher colour contrast due to mobile context, e.g. glare

▸ BBC guidelines suggest 7:1 ratio (the WCAG AAA requirement)

Page 35: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Content▸ Good accessibility begins with content

Page 36: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Page 37: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Writing style▸ Make your point clear first then explain▸ One point per paragraph▸ Use short line lengths wherever possible▸ Helps people who are deaf or have cognitive and

learning disabilities

Page 38: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

CAPS▸ Harder to read (dyslexia)▸ Shouting, caps can cause different reading by screen

readers

Page 39: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Screen reader nuances▸ Using semantic markup helps▸ But screen readers can still get things wrong

Page 40: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Screen reader pronunciation▸ We have language selection in WCAG, but what

about pronunciation?

Page 41: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Hyphenation▸ Example: E-newsletter▸ iOS▸ enewsletter “ehneyewsleta” = ˌe njuːsletər (sounds Russian)▸ e-newsletter “ee newsletter” = ˈiːnuːzˌletər (correct)▸ Android▸ enewsletter “eh newsletter” = ˌenuːzˌletər (wrong “e” sound)▸ e-newsletter “ee newsletter” = ˈiːnuːzˌletər (correct)▸ Windows mobile▸ enewsletter “ee newsletter” = ˈiːnuːzˌletər (correct)▸ e-newsletter “ee newsletter” = ˈiːnuːzˌletər (correct)

Page 42: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Compound words▸ Compound words are commonplace▸ Homepage▸ Sitemap▸ "Signup" announced as "sig nup" in VoiceOver iOS▸ Spaces and hyphens are your friends.

Page 43: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Read / Reading▸ “Reeding” vs “Redding”▸ <h2>Get reading</h2> = “Get Redding”▸ <a href="#">Read more</a> = “Red more”

Page 44: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Emphasis▸ “Skip to content” vs “Skip to main content”▸ “con tent” vs “con tent”

Page 45: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Date format▸ ambiguity, clarity (e.g. US versus UK)▸ 01 03 2015 could be “1st of March” or “3rd of January”▸ An interesting thing to note in VoiceOver

▸ it sometimes reads numbers strangely▸ for example: 2013 = “twenty thirteen inches”

▸ “Date expected in dd/mm/yyyy format”▸ “millimetres” in some speech engines

Page 46: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Long numbers▸ Phone numbers▸ Company numbers▸ <span> trick

▸ <span>0824</span>5475▸ CSS 3 speak-as: digits

▸ Very poor support but should improve

Page 47: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Moving forward▸ More testing currently being done in this area.▸ Other pronunciation examples:

▸ http://lab.dotjay.co.uk/tests/screen-readers/pronunciation/

Page 48: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Responsibility?▸ Users?▸ Software vendors?▸ Developers?▸ Content creators?▸ Web standards?

Page 49: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Responsibility?▸ Users?▸ Software vendors?▸ Developers?▸ Content creators?▸ Web standards?

All of us!

Page 50: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Final points▸ Test, test, test!

▸ No. (one-word sentence) is read by VoiceOver on iPad correctly, but on iPhone it reads it as “number”.

▸ These changes to our content are clearer for all!

Page 51: Accessible UX: Going beyond WCAG (#LWSa11y)

What can I do?

Page 52: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Jon has personal connections to accessibility.

Page 53: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Jon has personal connections to accessibility.

Photo credit: Jon Gibbins with thanks to Drake Music Project

Page 54: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Empathy▸ Most of us have a connection to accessibility

Page 55: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Empathy▸ Mobile

▸ small screens▸ text sizes▸ touch targets and keys▸ environment (hands-free, noise, rain)

Page 56: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Empathy▸ Ageing

▸ We are all ageing▸ Multiple disabilities of different types

Page 57: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Empathy▸ Accessibility is about understanding people and the

barriers that they face▸ Getting your own experience of accessibility helps

you to put yourself in the shoes of others and keep accessibility in mind when building and testing your sites and applications

Page 58: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Commit▸ Establish an ongoing commitment to accessibility▸ Create an accessibility statement▸ Get an accessibility champion on your team

Page 59: Accessible UX: Going beyond WCAG (#LWSa11y)

Resources

Page 60: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Resources: accessibility books▸ Design Meets Disability

book by Graham Pullin

Page 61: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Resources: guidelines▸ Guidelines for mobile and platform-specific

▸ WCAG 2.0▸ http://www.w3.org/WAI/WCAG20/

▸ BBC Mobile Accessibility Guidelines▸ http://www.bbc.co.uk/guidelines/futuremedia/accessibility/mo

bile▸ BBC GEL – How to design for accessibility

▸ http://www.bbc.co.uk/gel/guidelines/how-to-design-for-accessibility

Page 62: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Resources: W3C WAI▸ David Sloan has a good run down of helpful UX resources

▸ http://www.paciellogroup.com/blog/2013/06/accessible-user-experience-and-w3c-wai/

▸ Designing for Inclusion▸ http://www.w3.org/WAI/users/Overview.html

▸ Effective involvement of people with disabilities in the design process▸ Planning and Implementing Web Accessibility

▸ http://www.w3.org/WAI/managing.html▸ Involving Users in Web Projects for Better, Easier Accessibility

▸ http://www.w3.org/WAI/users/involving

Page 63: Accessible UX: Going beyond WCAG (#LWSa11y)

Accessible UX: Going beyond WCAG

Resources: W3C WAI (continued)▸ Involving users in evaluation

▸ http://www.w3.org/WAI/eval/users.html▸ Mobile Accessibility

▸ http://www.w3.org/WAI/mobile/▸ Shared Web Experiences: Barriers Common to Mobile

Device Users and People with Disabilities▸ http://www.w3.org/WAI/mobile/experiences

Page 64: Accessible UX: Going beyond WCAG (#LWSa11y)

Questions?

Page 65: Accessible UX: Going beyond WCAG (#LWSa11y)

#sharetheorange https://youtu.be/x9MvEZskR6o

Page 66: Accessible UX: Going beyond WCAG (#LWSa11y)

Thanks!Jon Gibbins, @dotjay