-
Notifications
You must be signed in to change notification settings - Fork 3
/
periodic-aria-attributes.html
204 lines (189 loc) · 9.48 KB
/
periodic-aria-attributes.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv=Content-Type content="text/html; charset=macintosh">
<title>Periodic Table of ARIA 1.0 Attributes</title>
<script src="./bower_components/jquery/jquery.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="./stylesheets/periodic.css" />
<style>
table#elements {
min-width:560px;
}
/* Patterns */
.patterns ul#legend .name .icon,
.patterns table#elements .name {
background-color: rgb(200, 0, 0);
background-image: linear-gradient(90deg, rgba(255,255,255,1) 50%, transparent 50%),
linear-gradient(rgba(255,255,255,1) 50%, transparent 50%);
background-size:7px 7px;
}
.patterns ul#legend .role .icon,
.patterns table#elements .role {
background-color: rgb(0, 0, 0);
background-image: repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(255,255,255,1) 3px, rgba(255,255,255,1) 7px);
}
.patterns ul#legend .grouping .icon,
.patterns table#elements .grouping {
background-image: repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(255,255,255,1) 3px, rgba(255,255,255,1) 7px);
}
.patterns ul#legend .interactive .icon,
.patterns table#elements .interactive {
background-image: repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(255,255,255,1) 3px, rgba(255,255,255,1) 7px);
}
.patterns ul#legend .state .icon,
.patterns table#elements .state {
background-image: repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(255,255,255,1) 3px, rgba(255,255,255,1) 7px);
}
.patterns ul#legend .table .icon,
.patterns table#elements .table {
background-image: repeating-linear-gradient(180deg, transparent, transparent 3px, rgba(255,255,255,1) 3px, rgba(255,255,255,1) 7px);
}
.patterns ul#legend .value .icon,
.patterns table#elements .value {
background-image: repeating-linear-gradient(180deg, transparent, transparent 3px, rgba(255,255,255,1) 3px, rgba(255,255,255,1) 7px);
}
/* Colors */
ul#legend .name .icon,
table#elements .name {
background-color: rgb(120, 140, 255);
}
ul#legend .role .icon,
table#elements .role {
background-color: rgb(255, 255, 100);
}
ul#legend .grouping .icon,
table#elements .grouping {
background-color: rgb(255, 150, 80);
}
ul#legend .interactive .icon,
table#elements .interactive {
background-color: rgb(255, 150, 80);
}
ul#legend .state .icon,
table#elements .state {
background-color: rgb(160, 175, 255);
}
ul#legend .table .icon,
table#elements .table {
background-color: rgb(255, 150, 100);
}
ul#legend .value .icon,
table#elements .value {
background-color: rgb(255, 150, 255);
}
</style>
</head>
<body link="#0000d4" vlink="#993366">
<section role="main">
<h1>Periodic Table of ARIA 1.0 attributes</h1>
<center>
<table id="elements" role="grid">
<tr role="row">
<td class="name" role="gridcell"><a href="javascript:;"><span>aria-describedby</span></a></td>
<td class="role" role="gridcell"><a href="javascript:;"><span>aria-required</span></a></td>
<td class="invisible" role="presentation"></td>
<td class="invisible" role="presentation"></td>
<td class="invisible" role="presentation"></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-hidden</span></a></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-busy</span></a></td>
<td class="value" role="gridcell"><a href="javascript:;"><span>aria-valuenow</span></a></td>
</tr>
<tr role="row">
<td class="name" role="gridcell"><a href="javascript:;"><span>aria-label</span></a></td>
<td class="role" role="gridcell"><a href="javascript:;"><span>aria-multiline</span></a></td>
<td class="interactive" role="gridcell"><a href="javascript:;"><span>aria-live</span></a></td>
<td class="interactive" role="gridcell"><a href="javascript:;"><span>aria-atomic</span></a></td>
<td class="interactive" role="gridcell"><a href="javascript:;"><span>aria-has-popup</span></a></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-invalid</span></a></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-disabled</span></a></td>
<td class="value" role="gridcell"><a href="javascript:;"><span>aria-valuemin</span></a></td>
</tr>
<tr role="row">
<td class="name" role="gridcell"><a href="javascript:;"><span>aria-labelledby</span></a></td>
<td class="role" role="gridcell"><a href="javascript:;"><span>aria-multi-selectable</span></a></td>
<td class="interactive" role="gridcell"><a href="javascript:;"><span>aria-relevant</span></a></td>
<td class="interactive" role="gridcell"><a href="javascript:;"><span>aria-controls</span></a></td>
<td class="interactive" role="gridcell"><a href="javascript:;"><span>aria-auto-complete</span></a></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-expanded</span></a></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-checked</span></a></td>
<td class="value" role="gridcell"><a href="javascript:;"><span>aria-valuemax</span></a></td>
</tr>
<tr role="row">
<td class="invisible" role="presentation"></td>
<td class="role" role="gridcell"><a href="javascript:;"><span>aria-orientation</span></a></td>
<td class="interactive" role="gridcell"><a href="javascript:;"><span>aria-owns</span></a></td>
<td class="interactive" role="gridcell"><a href="javascript:;"><span>aria-dropeffect</span></a></td>
<td class="interactive" role="gridcell"><a href="javascript:;"><span>aria-flowto</span></a></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-selected</span></a></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-pressed</span></a></td>
<td class="value" role="gridcell"><a href="javascript:;"><span>aria-setsize</span></a></td>
</tr>
<tr role="row">
<td class="invisible" role="presentation"></td>
<td class="role" role="gridcell"><a href="javascript:;"><span>aria-sort</span></a></td>
<td class="role" role="gridcell"><a href="javascript:;"><span>aria-readonly</span></a></td>
<td class="invisible" role="presentation"></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-grabbed</span></a></td>
<td class="state" role="gridcell"><a href="javascript:;"><span>aria-active-descendant</span></a></td>
<td class="value" role="gridcell"><a href="javascript:;"><span>aria-level</span></a></td>
<td class="value" role="gridcell"><a href="javascript:;"><span>aria-posinset</span></a></td>
</tr>
<tr role="row">
<td class="invisible" role="presentation"></td>
<td class="invisible" role="presentation"></td>
<td class="invisible" role="presentation"></td>
<td class="invisible" role="presentation"></td>
<td class="invisible" role="presentation"></td>
<td class="invisible" role="presentation"></td>
<td class="invisible" role="presentation"></td>
<td class="invisible" role="presentation"></td>
</tr>
</table>
</center>
<h3>Legend</h3>
<ul id="legend" class="clearfix">
<li class="name"><div class="icon"></div>Name</li>
<li class="role"><div class="icon"></div>Role</li>
<li class="state"><div class="icon"></div>State</li>
<li class="interactive"><div class="icon"></div>Interactive elements</li>
<li class="value"><div class="icon"></div>Value</li>
</ul>
<fieldset>
<legend>Colors or Patterns?</legend>
<label>
<input name="colpat" type="radio" value="colors" checked="checked" />
Colors
</label>
<label>
<input name="colpat" type="radio" value="patterns" />
Patterns
</label>
</fieldset>
</section>
<footer role="contentinfo">
The attribute names have been wrapped using additional - (dash) characters. This is so that the table looks good and the content is not hidden. all ARIA attributes ONLY have one - (dash) in them immediately after the word aria. Please refer to the <a href="http://www.w3.org/TR/wai-aria/states_and_properties">ARIA states and properties spec</a>
</footer>
<div id="modal" style="display:none;">
<button id="close">close</button>
<div id="popup">
</div>
</div>
<script>
window.waiBase = 'http://www.w3.org/TR/wai-aria/states_and_properties';
</script>
<script src="./javascripts/periodic.js"></script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-44989756-2");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>