-
Notifications
You must be signed in to change notification settings - Fork 743
/
too-many-rects.html
53 lines (51 loc) · 1.35 KB
/
too-many-rects.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
<!doctype html>
<html lang="en">
<head>
<title>Target-size too many rects Test</title>
<link
rel="stylesheet"
type="text/css"
href="/node_modules/mocha/mocha.css"
/>
<script src="/node_modules/mocha/mocha.js"></script>
<script src="/node_modules/chai/chai.js"></script>
<script src="/axe.js"></script>
<script>
mocha.setup({
timeout: 10000,
ui: 'bdd'
});
var assert = chai.assert;
</script>
</head>
<body>
<main id="mocha"></main>
<section id="incomplete">
<div id="incomplete-many-rects" role="tabpanel" tabindex="0">
<table id="tab-table"></table>
</div>
</section>
<script>
let html = '';
for (let i = 0; i < 100; i++) {
html += `
<tr>
<td><a href="#">Hello</a></td>
<td>Hello</td>
<td>Hello</td>
<td>Hello</td>
<td>Hello</td>
<td>Hello</td>
<td>Hello</td>
<td><button>view</button></td>
<td><button>download</button></td>
<td><button>expand</button></td>
</tr>`;
}
document.querySelector('#tab-table').innerHTML = html;
</script>
<script src="/test/testutils.js"></script>
<script src="too-many-rects.js"></script>
<script src="/test/integration/adapter.js"></script>
</body>
</html>