-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathautismSpectrum.html
206 lines (162 loc) · 7.58 KB
/
autismSpectrum.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>Designing for accessibility</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- FONT
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<!--<link href='https://fonts.googleapis.com/css?family=Raleway:400,300,600'
rel='stylesheet' type='text/css'>-->
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton-SC.css">
<link rel="stylesheet" href="css/custom.css">
<!-- Scripts
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script type="text/javascript" src="js/script0.js"></script>
<script type="text/javascript" src="js/script1.js"></script>
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="../../dist/images/favicon.png">
</head>
<body class="mainColour">
<div class="container">
<!--<div class="row">
<div class="12 columns">
<ul class="breadcrumb">
<li><a href="index.html">Designing for Accessibility</a></li>
<li><a href="autismSpectrum.html">Autistic Spectrum</a></li>
</ul>
</div>
</div>-->
<div class="row">
<div class="12 columns">
<a class="homeLink" href="index.html">Designing for accessibility</a></li>
</div>
</div>
<div class="row">
<div class="12 columns titleFlexParent">
<h1 class="titleFlexChild">Designing for users on the
<b>autistic spectrum</b></h1>
<img class="titleFlexChild" src="image/292.png">
</div>
</div>
<div class="row">
<div class="six columns">
<!--<div class="placeholder">-->
<div class="accentColour borderColour doDontHeader">
<h2><b>Do...</b></h2>
</div>
<!--</div>-->
<div class="accentColour guidanceBox">
<img src="image/svg/simpleColours.svg">
<p>use simple colours</p>
<!--<a href="#">more info</a>-->
<a id="simpleColoursModalLink">more info</a>
</div>
<div id="simpleColoursModal" class="modal">
<div class="accentColour modal-content">
<!--<div class="mainColour modal-header">-->
<!--</div>-->
<div class="modal-body">
<a class="back">< back</a>
<img src="image/svg/simpleColours.svg">
<h2><strong>Do use simple colours</strong></h2>
<p>People on the autistic spectrum may experience
over-sensitivity to colours. It's advisable to use
muted colours with lower saturation and hues derived
from nature e.g. off-whites, mauves, olive greens,
blue-greys and burnt oranges.</p>
<!--<h3>Further resources:</h3>
<a>WebAim guidance</a>-->
<a class="close">close</a>
</div>
</div>
</div>
<div class="accentColour guidanceBox">
<img src="image/svg/doThis.svg">
<p>write in plain English</p>
</div>
<div class="accentColour guidanceBox" >
<img src="image/svg/bulletPoints.svg">
<p class="tip">use simple sentences and bullets</p>
</div>
<div class="accentColour guidanceBox" >
<img src="image/svg/attachFiles.svg">
<p class="tip flexChild">make buttons descriptive</p>
</div>
<div class="accentColour guidanceBox" >
<img src="image/svg/neatTablet.svg">
<p class="tip flexChild">build simple and consistent layouts</p>
</div>
</div>
<div class="six columns">
<div class="secondaryColour borderColour doDontHeader">
<h2><b>Don't...</b></h2>
</div>
<div class="secondaryColour guidanceBox" >
<img class="tip flexChild" src="image/svg/brightContrastingColours.svg">
<p class="tip flexChild">use bright contrasting colours</p>
</div>
<div class="secondaryColour guidanceBox" >
<img class="tip flexChild" src="image/svg/rainingCatsDogs.svg">
<p class="tip flexChild">use figures of speech and idioms</p>
</div>
<div class="secondaryColour guidanceBox" >
<img class="tip flexChild" src="image/svg/justifiedText.svg">
<p class="tip flexChild">create a wall of text</p>
</div>
<div class="secondaryColour guidanceBox" >
<img class="tip flexChild" src="image/svg/clickHere.svg">
<p class="tip flexChild">make buttons vague and unpredictable</p>
</div>
<div class="secondaryColour guidanceBox" >
<img class="tip flexChild" src="image/svg/messyTablet.svg">
<p class="tip flexChild">build complex and cluttered layouts</p>
</div>
</div>
</div>
</div>
<script src="js/vendor/jquery.js"></script>
<script src="js/vendor/what-input.js"></script>
<script src="js/vendor/foundation.js"></script>
<script src="js/app.js"></script>
<script>
//Modal--------------------------------------------------
// Get the modal
var modal = document.getElementById('simpleColoursModal');
// Get the button that opens the modal
var a = document.getElementById("simpleColoursModalLink");
// Get the "back" element that closes the modal
var back = document.getElementsByClassName("back")[0];
// Get the "close" element that closes the modal
var close = document.getElementsByClassName("close")[0];
// When the user clicks on the button, open the modal
a.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on back or close, close the modal
back.onclick = function() {
modal.style.display = "none";
}
close.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</body>
</html>