-
Notifications
You must be signed in to change notification settings - Fork 3
/
sample-7.01.html
56 lines (47 loc) · 1.46 KB
/
sample-7.01.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
<!DOCTYPE html>
<html>
<head>
<title>Web accessibility demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link type="image/ico" rel="shortcut icon" href="//resources.esri.com/favicon.ico">
<link type="image/ico" rel="icon" href="//resources.esri.com/favicon.ico">
<link rel="stylesheet" href="http://js.arcgis.com/3.13/esri/css/esri.css">
</head>
<body class="claro">
<header>
<h1 tabindex="0">Web accessibility demo</h1>
<h2 tabindex="0">Map</h2>
</header>
<main role="main">
<style>
#map1, #map2 {
width: 400px;
height: 400px;
}
</style>
<h3 tabindex="0">Default map</h3>
<div id="map1" tabindex="0"></div>
<h3 tabindex="0">Map with alternative text</h3>
<div id="map2" tabindex="0" aria-label="This is a nice map that shows cool things."></div>
<script src="http://js.arcgis.com/3.13/"></script>
<script>
var map1, map2;
require(["esri/map", "dojo/domReady!"], function(Map) {
map1 = new Map("map1", {
basemap: "topo",
center: [-122.45, 37.75],
zoom: 10
});
map2 = new Map("map2", {
basemap: "topo",
center: [-122.45, 37.75],
zoom: 10
});
});
</script>
</main>
</body>
</html>