-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.htm
223 lines (216 loc) · 6.82 KB
/
index.htm
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
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Apex 4X Technical Style Guide</title>
<meta name="description" content="Scalable ARIA Components" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
type="text/css"
href="Templates/_common/_doc_files/css/global.css"
/>
<style type="text/css">
h2.heading--onblack {
color: #ffcc00;
font-family: Frutiger, Helvetica, Arial, sans-serif;
font-size: 1.8rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: 1.2em;
margin-top: 1.2em;
}
a.templatesLink {
padding: 5px;
font-size: 1.3em;
color: #fff;
}
a.templatesLink:focus,
a.templatesLink:hover {
text-decoration: none;
}
div.tooltip {
position: absolute;
width: auto;
color: var(--globalWhite);
background: var(--whatsock-black);
padding: 0.3em 0.5em;
-webkit-box-shadow:
0 1px 1px #afafaf,
inset 0 1px 0 var(--tooltip-boxshadow);
-moz-box-shadow:
0 1px 1px #afafaf,
inset 0 1px 0 var(--tooltip-boxshadow);
box-shadow:
0 1px 1px #afafaf,
inset 0 1px 0 var(--tooltip-boxshadow);
z-index: 100;
}
</style>
</head>
<body>
<div class="outer-wrapper">
<header class="header">
<div class="logo">
<a href="WhatSock/index.htm">
<img
alt="WhatSock : Changing the world one step at a time"
src="Templates/_common/_doc_files/img/whatsock.svg"
/>
</a>
</div>
</header>
<div class="wrapper">
<main id="main" class="main">
<h1><strong>Apex 4X</strong></h1>
<h2 class="heading--onblack">
Version: <strong id="version"></strong>
</h2>
<nav class="navigation--parent">
<ul>
<li>
<a href="Tutorials/Beginner-Introduction.htm"
>Start Beginner Tutorial</a
>
</li>
<li>
<a id="templatesLink" href="Templates/index.htm"
>Browse Accessible Widget Templates</a
>
</li>
</ul>
</nav>
<h2 class="heading--onblack">Test 4X</h2>
<div>
<button class="testBtn">Test Script</button>
</div>
<div>
<textarea style="min-width: 90%" id="testScript">
// Experiment with 4X
// Create a tooltip for the link "Browse Accessible Widget Templates"
var tooltip = $A.setTooltip("#templatesLink", {
id: "uniqueTooltipId",
content: '<b>WOW!</b>',
className: "tooltip",
delay: 1000,
delayTimeout: 3000,
style: {
display: "none" // Prep for animation.
},
animate: {
onRender: function(dc, wrapper, next) {
$A.Velocity(wrapper, "transition.fadeIn", {
complete: function() {
/* Running next() is required to continue executing built-in lifecycle methods such as afterRender() when the animation completes. */
next();
}
});
},
onRemove: function(dc, wrapper, next) {
$A.Velocity(wrapper, "transition.fadeOut", {
complete: function() {
/* Running next() is required to continue executing built-in lifecycle methods such as afterRender() when the animation completes. */
next();
}
});
}
}
});
tooltip.render(); // Optionally render the tooltip manually using the DC.render method.
</textarea
>
</div>
<div>
<button class="testBtn">Test Script</button>
</div>
<p class="dark--bg">
All available ARIA widget templates are available for immediate use.
None require any prior knowledge of ARIA to implement.
</p>
</main>
</div>
<footer class="footer">
<div class="flex-container-row">
<div class="flex-item">
<h2>License</h2>
<p>
Apex 4X including all template design patterns is distributed
under the terms of the Open Source Initiative OSI - MIT License,
and may be freely used for any purpose within any web technology.
</p>
</div>
<div class="flex-item">
<h2>Resources</h2>
<ul>
<li>
<a target="ext" href="https://github.com/WhatSock/apex"
>Apex 4X on GitHub</a
>
</li>
<li>
<a
target="ext"
href="https://whatsock.github.io/visual-aria/github-bookmarklet/visual-aria.htm"
>Visual ARIA Bookmarklet</a
>
</li>
<li>
<a
target="ext"
href="https://chrome.google.com/webstore/detail/visual-aria/lhbmajchkkmakajkjenkchhnhbadmhmk"
>Visual ARIA Chrome Extension</a
>
</li>
<li>
<a
target="ext"
href="https://addons.mozilla.org/en-US/firefox/addon/visual-aria/"
>Visual ARIA Firefox Extension</a
>
</li>
<li>
<a target="ext" href="https://github.com/AccDC/visual-aria"
>Visual ARIA on GitHub</a
>
</li>
<li>
<a target="ext" href="https://whatsock.com/training/matrices/"
>ARIA Role Conformance Matrices</a
>
</li>
<li>
<a target="ext" href="https://whatsock.com/training/"
>Accessibility Tree Training Guide</a
>
</li>
</ul>
</div>
<div class="flex-item">
<h2>Acknowledgements</h2>
<ul class="list--horizontal">
<li>
Author and developer:
<a target="ext" href="https://www.linkedin.com/in/bgaraventa"
>Bryan Garaventa</a
>
</li>
<li>
Website designer:
<a target="ext" href="https://gericci.me/">Angela Ricci</a>
</li>
<li>
Style and markup editor:
<a
target="ext"
href="https://www.linkedin.com/in/laurence-lewis-77520365/"
>Laurence Lewis</a
>
</li>
</ul>
</div>
</div>
</footer>
</div>
<script type="module" src="/index.js"></script>
</body>
</html>