forked from mattscepter/testWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage6.html
More file actions
80 lines (69 loc) · 1.94 KB
/
page6.html
File metadata and controls
80 lines (69 loc) · 1.94 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Accessibility Test - 200% Zoom</title>
<style>
* {
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
}
section {
border: 1px solid #ccc;
margin: 20px 0;
padding: 20px;
position: relative;
}
p {
font-size: 16px;
margin: 0 0 20px;
}
button {
font-size: 16px;
padding: 10px 20px;
background-color: #007BFF;
color: white;
border: none;
cursor: pointer;
position: absolute;
right: 20px;
bottom: 10px;
}
button:hover {
background-color: #0056b3;
}
/* Simulate the overlap issue on 200% zoom */
@media (min-width: 600px) and (max-width: 1200px) {
button {
top: 10px;
bottom: auto;
right: auto;
left: 20px;
}
}
</style>
</head>
<body>
<section>
<h2>Section 1</h2>
<p>This is a text element in the first section. On 200% zoom, the button below should overlap this text.</p>
<button>Click Me!</button>
</section>
<section>
<h2>Section 2</h2>
<p>This is a text element in the second section. On 200% zoom, the button below should overlap this text.</p>
<button>Click Me!</button>
</section>
<section>
<h2>Section 3</h2>
<p>This is a text element in the third section. On 200% zoom, the button below should overlap this text.</p>
<button>Click Me!</button>
</section>
</body>
</html>