Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Inclusive UI development tips & tricks

Inclusive UI development tips & tricks

How to establish an inclusivity development baseline for accessible UI interfaces.
@ Our Digital Experience

Marco Solazzi

November 09, 2016
Tweet

More Decks by Marco Solazzi

Other Decks in Programming

Transcript

  1. “ … enabling as many people as possible to use

    Web sites, even when those people's abilities are limited in some way. ” Accessibility - https://developer.mozilla.org/en-US/docs/Web/Accessibility
  2. “ … enabling as many people as possible to use

    Web sites, even when those people's abilities are limited in some way. ” Accessibility - https://developer.mozilla.org/en-US/docs/Web/Accessibility
  3. + vision impairments + limited fine motor control + cognitive

    disabilities + hearing impairments + older people (ourselves tomorrow) For whom?
  4. + keyboard users + game / remote control users +

    users “in the wild” + non-native language speakers + inexperienced with using websites + users who can’t listen to sound at work For whom?
  5. “I’m going to do the website that way. If people

    can’t use it they can go f**k themselves!” Everyday rant... - random world class designer / developer
  6. “I’m going to put stairs here. If people can’t climb

    them they can go f**k themselves!” What if... - random world class architect
  7. “Accessibility doesn't have to be perfect, it just needs to

    be a little bit better than yesterday.” - Léonie Watson
  8. - <span>-itis outbreak - Outline dilemma - Now you see

    JavaScript - U can't (just) touch this How?
  9. <button>s are ugly! Let’s use <span>s with JS Problems: 1.

    missing focus 2. missing keyboard interactions Symptoms
  10. “ … provides visual feedback for links that have "focus"

    when navigating a web document using the TAB key (or equivalent). ” Outline dilemma - http://www.outlinenone.com
  11. “ … provides visual feedback for links that have "focus"

    when navigating a web document using the TAB key (or equivalent). ” - http://www.outlinenone.com Outline dilemma
  12. If you really can’t stand outline, remove it just for

    mouse / touch interactions. Outline dilemma - https://github.com/lindsayevans/outline.js - https://www.paciellogroup.com/blog/2012/04/how-to-remove-css-outlines-in-an-acc essible-manner/
  13. - keybinding for modal controls - dynamic tabindex management -

    aria-* attributes management “ From great powers… ”
  14. “ … describes events and related interfaces for handling hardware

    agnostic pointer input from devices including a mouse, pen, touchscreen, etc. ” W3C Pointer Events - https://www.w3.org/TR/pointerevents2/
  15. “ ARIA is a set of special accessibility attributes which

    can be added to any markup, but is especially suited to HTML.” Accessible Rich Internet Applications (ARIA) - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
  16. I want more! Resources - http://a11yproject.com/ - https://www.paciellogroup.com/ - http://webaim.org/

    - http://a11yweekly.com/ - https://www.w3.org/TR/wai-aria-1.1/ People - https://twitter.com/LeonieWatson - https://twitter.com/stevefaulkner