-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccessible.html
323 lines (299 loc) · 13.3 KB
/
accessible.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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Accessible University Demo Site - Accessible Version</title>
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon-16x16.png">
<link href="assets/au-shared.css" rel="stylesheet">
<link href="assets/main.css" rel="stylesheet">
<link href="assets/after-main.css" rel="stylesheet">
<link href="assets/after-menu.css" rel="stylesheet">
<link href="assets/after-form.css" rel="stylesheet">
<link href="assets/after-carousel.css" rel="stylesheet">
<script src="assets/jquery.min.js"></script>
<script src="assets/after-menu.js"></script>
<script src="assets/after-form.js"></script>
<script src="assets/after-carousel.js"></script>
</head>
<body>
<div id="content">
<header>
<div id="skip-link">
<a href="#main">Skip to main content</a>
</div>
<h1>
<img id="logo" src="./assets/au123456789.gif" alt="Accessible University" width="441" height="90">
</h1>
<!-- <nav id="AU-menu" aria-label="Demo site menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="after.html" aria-current="page">After</a></li>
<li><a href="info.html">Info</a></li>
</ul>
</nav>
-->
</header>
<nav aria-label="Main Menu">
<ul id="menu" class="disclosure-nav">
<li>
<button type="button" aria-controls="menu_about" aria-expanded="false">About</button>
<ul id="menu_about">
<li>
<a href="somepage.html?ref=News">News</a>
</li>
<li>
<a href="somepage.html?ref=Governance">Governance</a>
</li>
<li>
<a href="somepage.html?ref=Diversity">Diversity</a>
</li>
<li>
<a href="somepage.html?ref=Contact%20Us">Contact Us</a>
</li>
</ul>
</li>
<li>
<button type="button" aria-controls="menu_academics" aria-expanded="false">Academics</button>
<ul id="menu_academics">
<li>
<a href="somepage.html?ref=Degree%20Programs">Degree Programs</a>
</li>
<li>
<a href="somepage.html?ref=AU%20Faculty">AU Faculty</a>
</li>
<li>
<a href="somepage.html?ref=Distance%20Learning">Distance Learning</a>
</li>
<li>
<a href="somepage.html?ref=Libraries">Libraries</a>
</li>
</ul>
</li>
<li>
<button type="button" aria-controls="menu_admissions" aria-expanded="false">Admissions</button>
<ul id="menu_admissions">
<li>
<a href="somepage.html?ref=Undergraduate">Undergraduate</a>
</li>
<li>
<a href="somepage.html?ref=Graduate">Graduate</a>
</li>
<li>
<a href="somepage.html?ref=Tuition">Tuition</a>
</li>
<li>
<a href="somepage.html?ref=Financial%20Aid">Financial Aid</a>
</li>
</ul>
</li>
<li>
<button type="button" aria-controls="menu_visitors" aria-expanded="false">Visitors</button>
<ul id="menu_visitors">
<li>
<a href="somepage.html?ref=Events">Events</a>
</li>
<li>
<a href="somepage.html?ref=Campus_Map">Campus Map</a>
</li>
<li>
<a href="somepage.html?ref=Parking">Parking</a>
</li>
</ul>
</li>
</ul>
</nav>
<!--
empty message div, will be populated dynamically
and its contents will be announced to screen reader users thanks to role="alert"
-->
<div id="errorMsg" role="alert"></div>
<main id="main">
<section id="carousel" aria-label="Slideshow" aria-roledescription="carousel">
<div id="slides" aria-live="polite">
<div class="slide" role="group" aria-roledescription="slide" aria-label="1 of 4">
<img src="./assets/slide1.jpg"
alt="An old brick building reflected in the glass exterior of a modern building">
<div class="caption">A modern school</div>
</div>
<div class="slide" role="group" aria-roledescription="slide" aria-label="2 of 4">
<img src="./assets/slide2.jpg"
alt="An old brick building is covered in ivy">
<div class="caption">rooted in its history</div>
</div>
<div class="slide" role="group" aria-roledescription="slide" aria-label="3 of 4">
<img src="./assets/slide3.jpg"
alt="In a library, a long wooden bookshelf sits beneath towering stone walls">
<div class="caption">with opportunities to learn</div>
</div>
<div class="slide" role="group" aria-roledescription="slide" aria-label="4 of 4">
<img src="./assets/slide4.jpg"
alt="Students sitting on a green lawn beneath giant trees">
<div class="caption">and grow.</div>
</div>
<div id="controls">
<div role="button" id="btn-prev" aria-label="Previous" aria-controls="slides" tabindex="0"></div>
<div role="button" id="btn-next" aria-label="Next" aria-controls="slides" tabindex="0"></div>
</div>
</div>
</section>
<div class="section">
<h2>Welcome!</h2>
<p>Accessible University (AU) is a fictional university, and this is its
fictional home page. This page is designed to demonstrate a variety of
common web design problems that result in visitors with disabilities
being unable to access the content or features of a web page.
Although the heading at the top of this section of the page
suggests that AU may be a welcoming institution,
the inaccessible design of this page sends the opposite message.
</p>
</div>
<div class="section" lang="es">
<h2>Bienvenido!</h2>
<p lang="es">Accesible Universidad (UA) es una universidad ficticia, y esta es su
página de ficción. Esta página está diseñada para demostrar una variedad de
común de diseño web que se traducen en problemas de los visitantes con discapacidad
no poder acceder al contenido o las características de una página web.
Aunque el título en la parte superior de esta sección de la página
sugiere que AU puede ser una institución de bienvenida,
el diseño inaccesible de esta página envía el mensaje opuesto.
</p>
</div>
<div class="section">
<h2>AU Enrollment Trends</h2>
<table id="enrollment">
<caption>The following table shows undergraduate and graduate enrollment over a two-year period by subject.</caption>
<thead>
<tr>
<td class="corner" style="width:6em" rowspan="2"></td>
<th scope="col" id="year1" colspan="5">Last Year</th>
<th scope="col" id="year2" colspan="5">This Year</th>
</tr>
<tr>
<th scope="col" id="subj-cs1"><abbr title="Computer Science">CS</abbr></th>
<th scope="col" id="subj-eng1"><abbr title="English">Eng</abbr></th>
<th scope="col" id="subj-eco1"><abbr title="Economics">Eco</abbr></th>
<th scope="col" id="subj-phy1"><abbr title="Physics">Phy</abbr></th>
<th scope="col" id="subj-psy1"><abbr title="Psychology">Psy</abbr></th>
<th scope="col" id="subj-cs2"><abbr title="Computer Science">CS</abbr></th>
<th scope="col" id="subj-eng2"><abbr title="English">Eng</abbr></th>
<th scope="col" id="subj-eco2"><abbr title="Economics">Eco</abbr></th>
<th scope="col" id="subj-phy2"><abbr title="Physics">Phy</abbr></th>
<th scope="col" id="subj-psy2"><abbr title="Psychology">Psy</abbr></th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" id="undergrad">Undergraduate</th>
<!--Last Year-->
<td headers="year1 subj-cs1 undergrad">1481</td>
<td headers="year1 subj-eng1 undergrad">400</td>
<td headers="year1 subj-eco1 undergrad">727</td>
<td headers="year1 subj-phy1 undergrad">747</td>
<td headers="year1 subj-psy1 undergrad">1006</td>
<!--This Year-->
<td headers="year2 subj-cs2 undergrad">1500</td>
<td headers="year2 subj-eng2 undergrad">340</td>
<td headers="year2 subj-eco2 undergrad">777</td>
<td headers="year2 subj-phy2 undergrad">787</td>
<td headers="year2 subj-psy2 undergrad">1112</td>
</tr>
<tr>
<th scope="row" id="grad">Graduate</th>
<td headers="year1 subj-cs1 grad">310</td>
<td headers="year1 subj-eng1 grad">84</td>
<td headers="year1 subj-eco1 grad">273</td>
<td headers="year1 subj-phy1 grad">69</td>
<td headers="year1 subj-psy1 grad">312</td>
<!--This Year-->
<td headers="year2 subj-cs2 grad">350</td>
<td headers="year2 subj-eng2 grad">64</td>
<td headers="year2 subj-eco2 grad">341</td>
<td headers="year2 subj-phy2 grad">72</td>
<td headers="year2 subj-psy2 grad">325</td>
</tr>
</tbody>
</table>
</div>
</main>
<aside id="appForm" aria-labelledby="appFormHeading">
<h2 id="appFormHeading">Apply Now!</h2>
<form action="after.html?submitted=yes" method="post">
<div class="required" aria-hidden="true">
<span class="star">*</span> = Required field
</div>
<!-- container for displaying form errors or other messages -->
<div id="feedback" role="alert"></div>
<div class="required">
<label for="name">Name <span class="star" aria-hidden="true">*</span></label>
<input id="name" type="text" name="name" required/>
</div>
<div class="required">
<label for="email">Email <span class="star" aria-hidden="true">*</span></label>
<input id="email" type="email" name="email" required/>
</div>
<div>
<label for="country">Country:</label>
<input type="text" name="country" id="country"/>
</div>
<fieldset id="majors">
<legend>Desired major(s):</legend>
<ul>
<li>
<label for="cs">Computer Science</label>
<input type="checkbox" name="major_cs" id="cs"/>
</li>
<li>
<label for="eng">Engineering</label>
<input type="checkbox" name="major_eng" id="eng"/>
</li>
<li>
<label for="eco">Economics</label>
<input type="checkbox" name="major_econ" id="eco"/>
</li>
<li>
<label for="phy">Physics</label>
<input type="checkbox" name="major_phy" id="phy"/>
</li>
<li>
<label for="psy">Psychology</label>
<input type="checkbox" name="major_psy" id="psy"/>
</li>
<li>
<label for="spa">Spanish</label>
<input type="checkbox" name="major_sp" id="spa"/>
</li>
</ul>
</fieldset>
<div id="captcha"></div>
<div>
<input id="submit" type="submit" name="submit" value="Submit" />
</div>
</form>
</aside>
<footer>
<div id="license">
<div id="ccLogo">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png"></a>
</div>
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Accessible University</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://www.unibo.it/sitoweb/vincenzo.rubano" property="cc:attributionName" rel="cc:attributionURL">Vioncenzo Rubano (University of Bologna)</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
</div>
<p>This product is adapted from the <a href="http://washington.edu/accesscomputing/AU">original test by the University of Washington</a> with support from the
National Institute on Disability and Rehabilitation Research of the U.S.
Department of Education (grant #H133D010306), and has been subsequently
updated and maintained with support from the National Science
Foundation (grants #CNS-0540615, CNS-0837508, CNS-1042260, CNS-1539179,
and CNS-2137312). The contents do not necessarily represent the policies
of the U.S. federal government, and you should not assume their
endorsement.</p>
</footer>
</div><!--end #content-->
<!-- container for displaying form errors -->
<div id="error" role="alert"></div>
<!--containers for displaying modal content-->
<!--
<div id="modalMask"></div>
-->
</body>
</html>