We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 096f4d2 commit 438bdd1Copy full SHA for 438bdd1
1 file changed
styles.css
@@ -24,19 +24,26 @@ section#tools div {
24
background: #f9f9f9;
25
}
26
27
+/* Update button styles to meet WCAG 2 AA standards */
28
button {
29
margin-top: 0.5rem;
30
padding: 0.5rem 1rem;
- background: #007bff;
31
- color: #fff;
+ background: #0056b3; /* Darker blue for better contrast */
32
+ color: #ffffff; /* White text for high contrast */
33
border: none;
34
border-radius: 3px;
35
cursor: pointer;
36
transition: background 0.3s ease;
37
38
39
button:hover {
- background: #0056b3;
40
+ background: #003a80; /* Even darker blue for hover state */
41
+}
42
+
43
+/* Ensure focus states are accessible */
44
+button:focus {
45
+ outline: 2px solid #ffffff;
46
+ outline-offset: 2px;
47
48
49
#tools div:hover {
0 commit comments