-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (51 loc) · 1.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SR Speak</title>
<style>
* {
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
display: grid;
place-items: center;
height: 100vh;
}
.wrapper {
width: 20rem;
}
label {
display: block;
font-weight: 700;
margin-bottom: 0.25rem;
}
textarea,
select,
button {
width: 100%;
border-radius: 0.5rem;
padding: 0.5rem;
margin-bottom: 1rem;
}
</style>
</head>
<body>
<script type="module" src="/src/example.ts"></script>
<div class="wrapper">
<form id="form" class="form">
<label for="input">Text to speak in Screen Readers</label>
<textarea name="input" rows="5" id="input">Hello World</textarea>
<label for="politeness">Politeness</label>
<select name="politeness" id="politeness">
<option value="polite">Polite</option>
<option value="assertive">Assertive</option>
</select>
<button type="submit" id="speakBtn">📢Speak</button>
</form>
</div>
</body>
</html>