forked from robertocarroll/icc-alpha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
html5-aria-roles.html
86 lines (78 loc) · 2.89 KB
/
html5-aria-roles.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>HTML5 Plus ARIA Roles</title>
<meta name="viewport" content="width=device-width, maximum-scale=1, minimum-scale=1, user-scalable=0, initial-scale=1">
<!-- Favicons and Apple Touch icons
================================================== -->
<link rel="shortcut icon" href="assets/images/favicon.ico" type="image/x-icon" />
<!-- Standard iPhone -->
<link rel="apple-touch-icon" sizes="57x57" href="assets/images/apple-touch-icon-57x57.png" />
<!-- Retina iPhone -->
<link rel="apple-touch-icon" sizes="114x114" href="assets/images/apple-touch-icon-114x114.png" />
<!-- Standard iPad -->
<link rel="apple-touch-icon" sizes="72x72" href="assets/images/apple-touch-icon-72x72.png" />
<!-- Retina iPad -->
<link rel="apple-touch-icon" sizes="144x144" href="assets/images/apple-touch-icon-144x144.png" />
<!-- CSS -->
<!--[if (!IE) | (gt IE 9)]><!--><link rel="stylesheet" href="assets/build/icc-alpha.css" /><!--<![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="assets/build/icc-alpha-old-ie.css.css" /><![endif]-->
<!--[if IE]><script src="/assets/build/html5.js"></script><![endif]-->
</head>
<body>
<div class="wrapper">
<header id="banner" role="banner">
<div id="siteName"><a href="/">Accessible Culture</a></div>
<nav role="navigation">
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
</ul>
</nav>
</header>
<section id="main" role="main">
<header>
<h1>Title</h1>
<nav role="navigation">
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
</ul>
</nav>
</header>
<section role="region" aria-labelledby="articles">
<header><h2 id="articles">Articles Section</h2></header>
<p><a href="#libero">Skip to link in Article A</a></p>
<article role="article">
<header><h3>Article A</h3></header>
<p>Vivamus placerat, <a id="libero" href="#">libero ut convallis elementum</a>.</p>
<aside role="complementary">
<p>This is some text in an aside.</p>
</aside>
<footer>Footer for Article A</footer>
</article>
<article role="article">
<header><h3>Article B</h3></header>
<p>Aliquam vehicula justo ut metus. <a href="#">Maecenas sollicitudin</a>.</p>
<footer>Footer for Article B</footer>
</article>
</section>
<section role="application">
<h2 id="app">Application Section</h2>
<button>Button that does nothing</button>
</section>
<section role="application">
<h2 id="locations">Application Section</h2>
<p>
<a aria-describedby="locations" href="#">See all locations</a>
</p>
</section>
</section>
<footer role="contentinfo">
<p><time datetime="2011-03-11">March 11, 2011</time></p>
</footer>
</div><!-- wrapper -->
</body>
<script src="assets/build/icc-alpha.min.js"></script>
</html>