Skip to content

Commit 1e930b1

Browse files
committed
fix light house accessibility score
1 parent 5b35052 commit 1e930b1

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

Form-Controls/index.html

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
<meta charset="UTF-8" />
55
<title>T-Shirt Order</title>
66
<style>
7-
body { font-family: Arial, sans-serif; padding: 20px; }
8-
label { display: block; margin-top: 16px; font-weight: bold; }
9-
input, select { width: 100%; padding: 8px; margin-top: 4px; }
10-
button { margin-top: 20px; padding: 10px 20px; background: red; color: white; border: none; cursor: pointer; }
7+
body { font-family: Arial, sans-serif; padding: 20px; background: #ffffff; color: #111111; }
8+
label { display: block; margin-top: 16px; font-weight: bold; color: #111111; }
9+
input, select { width: 100%; padding: 8px; margin-top: 4px; border: 2px solid #111111; font-size: 1rem; }
10+
button { margin-top: 20px; padding: 10px 20px; background: #8B0000; color: #ffffff; border: none; cursor: pointer; font-size: 1rem; font-weight: bold; }
1111
</style>
1212
</head>
1313
<body>
1414

15+
<main>
1516
<h1>Order a T-Shirt</h1>
1617

1718
<label for="name">Your Name</label>
@@ -30,13 +31,3 @@ <h1>Order a T-Shirt</h1>
3031
<option value="">Pick a size</option>
3132
<option>XS</option>
3233
<option>S</option>
33-
<option>M</option>
34-
<option>L</option>
35-
<option>XL</option>
36-
<option>XXL</option>
37-
</select>
38-
39-
<button type="submit">Order Now</button>
40-
41-
</body>
42-
</html>

0 commit comments

Comments
 (0)