-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
60 lines (45 loc) · 1.43 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Test alt attribute</title>
<meta name="robots" content="noindex, nofollow">
<style type="text/css">
body {
font-family: sans-serif;
line-height: 1.6;
padding: 1% 5% 5%;
}
li {
margin-bottom: 1em;
}
</style>
</head>
<body>
<h1>Test alt attribute</h1>
<p>Below, an image with an alt attribute without space.</p>
<img src="assets/images/image-150x150.jpg" alt="">
<p>Below, an image with an alt attribute with a space.</p>
<img src="assets/images/image-150x150.jpg" alt=" ">
<p>Some text after.</p>
<h2>Test results</h2>
<p>February 10, 2017.</p>
<ul>
<li>
VoiceOver - Safari 10 - macOS Sierra:<br>
Ignores both images. Only when navigating by character (right arrow) it announces the presence of new lines and "You are currently on an image..." for both images (Note: with default setting: Verbosity > Hints > Speak instructions for using the item in the VoiceOver cursor).
</li>
<li>
NVDA 2016.4 - Firefox 51 - Windows 10:<br>
(I've refreshed the page a couple times before testing)<br>
First image: ignored. Second image: "graphic".
When navigating by character: first image: ignored. Second image: "graphic space space out of graphic".
</li>
<li>
JAWS 17 - Internet Explorer 11 - Windows 10:<br>
First image: "blank". Second image: "blank".
When navigating by character: first image: "space" (two times). Second image: "space" (two times).
</li>
</ul>
</body>
</html>