-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
255 lines (214 loc) · 10.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=1024" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>Accessibile AngularJS</title>
<meta name="author" content="Dan Mouyard" />
<link href="http://fonts.googleapis.com/css?family=Oswald:700,400,300" rel="stylesheet">
<link href="css/base.css" rel="stylesheet" />
<link href="css/design.css" rel="stylesheet" />
<link href="css/slides.css" rel="stylesheet" />
<link rel="shortcut icon" href="img/favicon.ico" />
</head>
<body class="impress-not-supported">
<div class="fallback-message">
<p>Your browser <b>doesn’t support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>
<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p>
</div>
<div id="impress">
<article id="title" data-x="-800" data-y="-500" data-scale="3" class="step questions-hidden">
<h1 class="headline">Accessibile AngularJS</h1>
<p class="headline"><a href="http://dcmouyard.github.io/accessible-angular">dcmouyard.github.io/accessible-angular</a></p>
</article>
<article id="dcmouyard" data-x="-175" data-y="680" data-scale="3" class="step questions-hidden">
<h2>Dan Mouyard</h2>
<h3>Senior Interface Engineer</h3>
<div class="dan"><img src="img/avatar-150.png" alt=""></div>
<p><a href="mailto:dmouyard@forumone.com">dmouyard@forumone.com</a><br><a href="http://twitter.com/dcmouyard">@dcmouyard</a></p>
</article>
<article id="overview-stack" data-x="2000" data-y="200" data-scale="2" class="step questions-hidden">
<h2>Accessibility Stack</h2>
</article>
<article id="overview-aria" data-x="2000" data-y="400" data-scale="2" class="step questions-hidden">
<h2>WAI-ARIA</h2>
</article>
<article id="overview-angular" data-x="2000" data-y="600" data-scale="2" class="step questions-hidden">
<h2>AngularJS</h2>
</article>
<article id="accessibility-stack" data-x="2000" data-y="3000" data-scale="2" class="step stack-dom-hidden stack-accessibility-hidden stack-aria-hidden wai-aria-hidden">
<h1 class="headline">Accessibility Stack</h1>
</article>
<article id="stack-dom" data-x="2000" data-y="3000" data-scale="1.5" class="step accessibility-stack-hidden stack-accessibility-visible stack-aria-visible wai-aria-hidden">
<h2 class="title block-row"><span class="block">HTML</span> <span class="block">CSS</span> <span class="block">JS</span></h2>
</article>
<article id="tech-monitor" data-x="2000" data-y="5000" data-scale="1.5" class="step picture">
<p class="element-invisible">Monitor</p>
</article>
<article id="tech-mouse" data-x="2000" data-y="5000" data-scale="1.5" class="step picture">
<p class="element-invisible">Mouse</p>
</article>
<article id="tech-keyboard" data-x="2000" data-y="5000" data-scale="1.5" class="step picture">
<p class="element-invisible">Keyboard</p>
</article>
<article id="tech-speakers" data-x="2000" data-y="5000" data-scale="1.5" class="step picture">
<p class="element-invisible">Speakers</p>
</article>
<article id="stack-accessibility" data-x="2000" data-y="2800" data-scale="1.5" class="step accessibility-stack-hidden stack-dom-hidden stack-aria-visible wai-aria-hidden">
<h2 class="title block-row"><span class="block">Accessibility API</span></h2>
<h2 class="title block-row"> </h2>
</article>
<article id="stack-aria" data-x="2000" data-y="2800" data-scale="1.5" class="step accessibility-stack-hidden stack-dom-hidden stack-accessibility-hidden wai-aria-hidden">
<h2 class="title block-row"><span class="block">WAI-ARIA</span></h2>
</article>
<article id="wai-aria" data-x="2000" data-y="2800" class="step accessibility-stack-hidden stack-dom-hidden stack-accessibility-hidden stack-aria-hidden">
<h2 class="headline">Accesible Rich Internet Applications</h2>
</article>
<article id="aria-definition" data-x="2000" data-y="3050" class="step accessibility-stack-hidden stack-dom-hidden stack-accessibility-hidden stack-aria-hidden wai-aria-hidden">
<p>Technical specification to make websites and applications more accessible, especially with dynamic content and advanced user interface controls.</p>
</article>
<article id="attributes" data-x="5000" data-y="3050" class="step wai-aria-hidden">
<h2 class="title">HTML Attributes</h2>
</article>
<article id="attributes-roles" data-x="5000" data-y="3150" class="step wai-aria-hidden">
<h2>Roles</h2>
</article>
<article id="landmarks" data-x="6000" data-y="3150" data-scale="0.1" class="step wai-aria-hidden structure-hidden widgets-hidden">
<h3>Landmarks</h3>
<ul>
<li>role="main"</li>
<li>role="banner"</li>
<li>role="navigation"</li>
<li>role="search"</li>
<li>role="complementary"</li>
</ul>
</article>
<article id="structure" data-x="6050" data-y="3150" data-scale="0.1" class="step wai-aria-hidden landmarks-hidden widgets-hidden">
<h3>Structure</h3>
<ul>
<li>role="article"</li>
<li>role="heading"</li>
<li>role="listitem"</li>
<li>role="document"</li>
<li>role="presentation"</li>
</ul>
</article>
<article id="widgets" data-x="6100" data-y="3150" data-scale="0.1" class="step wai-aria-hidden landmarks-hidden structure-hidden">
<h3>Widgets</h3>
<ul>
<li>role="alert"</li>
<li>role="button"</li>
<li>role="tooltip"</li>
<li>role="progressbar"</li>
<li>role="timer"</li>
</ul>
</article>
<article id="attributes-properties" data-x="5000" data-y="3225" class="step wai-aria-hidden">
<h2>Properties</h2>
</article>
<article id="properties" data-x="6000" data-y="3225" data-scale="0.1" class="step wai-aria-hidden">
<h3>Properties</h3>
<ul>
<li>aria-required="true|false"</li>
<li>aria-label="string"</li>
<li>aria-controls="id"</li>
<li>aria-haspopup="true|false"</li>
<li>aria-live="polite|assertive|off"</li>
</ul>
</article>
<article id="attributes-states" data-x="5000" data-y="3300" class="step wai-aria-hidden">
<h2>States</h2>
</article>
<article id="states" data-x="6000" data-y="3300" data-scale="0.1" class="step wai-aria-hidden">
<h3>States</h3>
<ul>
<li>aria-busy="true|false"</li>
<li>aria-checked="true|false"</li>
<li>aria-disabled="true|false"</li>
<li>aria-expanded="true|false|undefined"</li>
<li>aria-invalid="true|false"</li>
</ul>
</article>
<article id="aria-rules" data-x="5000" data-y="5000" class="step">
<h2 class="title">Rules for Using ARIA</h2>
</article>
<article id="aria-rules-1" data-x="5000" data-y="5100" class="step">
<h3>#1 Use native elements first.</h3>
</article>
<article id="aria-rules-2" data-x="5000" data-y="5200" class="step">
<h3>#2 Don't override native semantics.</h3>
</article>
<article id="angular" data-x="8000" data-y="5000" data-rotate="-90" class="step">
<h1 class="headline">AngularJS</h1>
</article>
<article id="angular-demo" data-x="8000" data-y="2000" data-rotate="-90" class="step">
<iframe src="demo/ng-1.html" height="600" width="800"></iframe>
</article>
<article id="angular-code" data-x="10000" data-y="2000" data-rotate="-90" class="step">
<pre><h1>Todo List</h1>
<div ng-controller="TodoCtrl">
<span>{{remaining()}} of {{todos.length}} remaining</span>
[ <a href="" ng-click="archive()">archive</a> ]
<ul>
<li ng-repeat="todo in todos">
<input type="checkbox" ng-model="todo.done">
<span class="done-{{todo.done}}">{{todo.text}}</span>
</li>
</ul>
<form ng-submit="addTodo()">
<input type="text" ng-model="todoText" size="30"
placeholder="add new todo here">
<input type="submit" value="add">
</form></pre>
</article>
<article id="angular-fix-1" data-x="10000" data-y="-1000" data-rotate="-90" class="step">
<s><pre><h1>Todo List</h1></pre></s>
<br>
<pre><h1>To-do List</h1></pre>
</article>
<article id="angular-fix-2" data-x="10000" data-y="-3000" data-rotate="-90" class="step">
<s><pre><span>{{remaining()}} of {{todos.length}} remaining</span></pre></s>
<br>
<pre><span aria-live="polite">{{remaining()}} of {{todos.length}} remaining</span></pre>
</article>
<article id="angular-fix-3" data-x="10000" data-y="-6000" data-rotate="-90" class="step">
<s><pre>[ <a href="" ng-click="archive()">archive</a> ]</pre></s>
<br>
<pre>[ <button class="button-link" ng-click="archive()">archive</button> ]</pre>
</article>
<article id="angular-fix-4" data-x="10000" data-y="-9000" data-rotate="-90" class="step">
<s><pre><input type="checkbox" ng-model="todo.done">
<span class="done-{{todo.done}}">{{todo.text}}</span></pre></s>
<br>
<pre><input id="todo-{{$index}}" type="checkbox" ng-model="todo.done">
<label for="todo-{{$index}}" class="done-{{todo.done}}">{{todo.text}}</label></pre>
</article>
<article id="angular-fix-5" data-x="10000" data-y="-12000" data-rotate="-90" class="step">
<s><pre><input type="text" ng-model="todoText" size="30"
placeholder="add new todo here"></pre></s>
<br>
<pre><label for="add-todo" class="element-invisible">New to-do item</label>
<input id="add-todo" type="text" ng-model="todoText"
placeholder="add new to-do here" size="30"></pre>
</article>
<article id="angular-demo-fixed" data-x="8000" data-y="-12000" data-rotate="-90" class="step">
<iframe src="demo/ng-2.html" height="600" width="800"></iframe>
</article>
<article id="resources" data-x="-8000" data-y="-8000" data-rotate="-180" class="step">
<h2>Resources</h2>
<ul>
<li><a href="http://whatsock.com/tsg">http://whatsock.com/tsg</a></li>
<li><a href="http://www.oaa-accessibility.org/examples">http://www.oaa-accessibility.org/examples</a></li>
<li><a href="http://www.w3.org/WAI/PF/aria-practices">http://www.w3.org/WAI/PF/aria-practices</a></li>
</ul>
</article>
<article id="questions" data-x="0" data-y="0" class="step final-hidden">
<h2 class="title">Thank You!</h2>
<p><strong>Any Questions?</strong></p>
</article>
<div id="final" data-x="0" data-y="0" data-scale="4" class="step"></div>
<script src="js/impress.min.js"></script>
<script>impress().init();</script>
</body>
</html>