progressive enhancement with aria [webvisions 2011]

39
PROGRESSIVE ENHANCEMENT with ARIA

Upload: aaron-gustafson

Post on 27-Jan-2015

117 views

Category:

Technology


1 download

DESCRIPTION

esigning and developing with accessibility in mind has numerous benefits: it makes your website usable by everyone, it makes your content inherently more search engine friendly, and it makes providing context-sensitive interfaces (e.g. mobile) even easier. In this session, Aaron Gustafson will provide you with a quick refresher on progressive enhancement and show you where the Web Accessibility Initiative's Accessible Rich Internet Applications (WAI-ARIA) spec fits into it all. Throughout the talk, Aaron will provide numerous examples of how to weave ARIA into your projects and how to use ARIA, in concert with JavaScript, to dramatically enhance the usability of client-side widgets.

TRANSCRIPT

Page 1: Progressive Enhancement with ARIA [WebVisions 2011]

PROGRESSIVE ENHANCEMENTwith ARIA

Page 2: Progressive Enhancement with ARIA [WebVisions 2011]
Page 3: Progressive Enhancement with ARIA [WebVisions 2011]
Page 4: Progressive Enhancement with ARIA [WebVisions 2011]

?

Page 5: Progressive Enhancement with ARIA [WebVisions 2011]

<button>Tweet</button>

Page 6: Progressive Enhancement with ARIA [WebVisions 2011]

<button>Tweet</button><a class=”button”>Tweet</a>

Page 7: Progressive Enhancement with ARIA [WebVisions 2011]
Page 8: Progressive Enhancement with ARIA [WebVisions 2011]

?

Page 9: Progressive Enhancement with ARIA [WebVisions 2011]

<button>Search Mail</button>

Page 10: Progressive Enhancement with ARIA [WebVisions 2011]

<button>Search Mail</button><div>Search Mail</div>

Page 11: Progressive Enhancement with ARIA [WebVisions 2011]

WebAccessibilityInitiative

Page 12: Progressive Enhancement with ARIA [WebVisions 2011]

Accessible RichInternet Applications

Page 13: Progressive Enhancement with ARIA [WebVisions 2011]
Page 14: Progressive Enhancement with ARIA [WebVisions 2011]

Content

XHTML

CSS

JavaScript

Page 15: Progressive Enhancement with ARIA [WebVisions 2011]

Content

XHTML

CSS

JavaScript

ARIA

Page 16: Progressive Enhancement with ARIA [WebVisions 2011]
Page 17: Progressive Enhancement with ARIA [WebVisions 2011]
Page 18: Progressive Enhancement with ARIA [WebVisions 2011]

<header role="banner">

Page 19: Progressive Enhancement with ARIA [WebVisions 2011]

<nav role="navigation">

Page 20: Progressive Enhancement with ARIA [WebVisions 2011]

<div role="main">

Page 21: Progressive Enhancement with ARIA [WebVisions 2011]
Page 22: Progressive Enhancement with ARIA [WebVisions 2011]

<a class=”button”>Tweet</a>

Page 23: Progressive Enhancement with ARIA [WebVisions 2011]

<a role=”button”>Tweet</a>

Page 24: Progressive Enhancement with ARIA [WebVisions 2011]
Page 25: Progressive Enhancement with ARIA [WebVisions 2011]

role="application"aria-activedescendant="folder-1"

Page 26: Progressive Enhancement with ARIA [WebVisions 2011]

role="tablist"

Page 27: Progressive Enhancement with ARIA [WebVisions 2011]

role="tab"aria-selected="true"aria-controls="folder-1"

Page 28: Progressive Enhancement with ARIA [WebVisions 2011]

role="tab"aria-selected="false"aria-controls="folder-4"

Page 29: Progressive Enhancement with ARIA [WebVisions 2011]

role="tabpanel"aria-hidden="false"aria-labelledby="folder-1-tab"

Page 30: Progressive Enhancement with ARIA [WebVisions 2011]
Page 31: Progressive Enhancement with ARIA [WebVisions 2011]
Page 32: Progressive Enhancement with ARIA [WebVisions 2011]
Page 33: Progressive Enhancement with ARIA [WebVisions 2011]

<input class="tweet-counter" value="137" disabled="disabled">

Page 34: Progressive Enhancement with ARIA [WebVisions 2011]

<span class="tweet-counter"> <strong class="char-counter">137</strong></span>

Page 35: Progressive Enhancement with ARIA [WebVisions 2011]

<span class="tweet-counter">137 <b class="hidden"> characters remaining </b></span>

Page 36: Progressive Enhancement with ARIA [WebVisions 2011]

<span class="tweet-counter">maximum of 140 characters</span>

Page 37: Progressive Enhancement with ARIA [WebVisions 2011]

<span class="tweet-counter">maximum of 140 characters</span>

<span class="tweet-counter">137 <b class="hidden"> characters remaining </b></span>

Page 38: Progressive Enhancement with ARIA [WebVisions 2011]

<span aria-live="polite" aria-atomic="true" class="tweet-counter"> 137<b class="hidden"> characters remaining</b></span>

Page 39: Progressive Enhancement with ARIA [WebVisions 2011]

Progressive Enhancement with ARIAby Aaron Gustafson

More of the same:http://adaptivewebdesign.info

http://easy-designs.nethttp://easy-reader.net

http://aaron-gustafson.com

Slides available athttp://slideshare.net/AaronGustafson

This presentation is licensed underCreative Commons

Attribution-Noncommercial-Share Alike 3.0

flickr Photo Credits“Dual Samsung Monitors” by steve-uk

“Statue of liberty” by gadl“Lego creation” by MiikaS

“Green Plant” by kevin1024