Skip to content

Commit e5be2af

Browse files
author
Tony Li
committed
fix: reach 100/100 accessibility score
- Brighten terminal comments (#A0AEC0) and footer text (#8B95A8) for color contrast. - Darken accent color slightly (#E53E3E) for better button text contrast. - Force underlines on footer disclaimer links for distinguishability.
1 parent 89f051a commit e5be2af

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

website/style.css

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
--text-secondary: #8B95A8;
2121
--text-muted: #4A5568;
2222

23-
--accent: #EF4444;
24-
--accent-soft: rgba(239, 68, 68, 0.15);
25-
--accent-glow: rgba(239, 68, 68, 0.4);
23+
--accent: #E53E3E;
24+
--accent-soft: rgba(229, 62, 62, 0.15);
25+
--accent-glow: rgba(229, 62, 62, 0.4);
2626

2727
--cyan: #22D3EE;
2828

@@ -342,7 +342,7 @@ a:hover {
342342
}
343343

344344
.terminal-code .comment {
345-
color: #8B95A8;
345+
color: #A0AEC0;
346346
font-style: italic;
347347
}
348348

@@ -592,14 +592,14 @@ a:hover {
592592
}
593593

594594
.footer-copy {
595-
color: var(--text-muted);
595+
color: var(--text-secondary);
596596
font-size: 0.8rem;
597597
font-style: italic;
598598
margin-bottom: 16px;
599599
}
600600

601601
.footer-disclaimer {
602-
color: var(--text-muted);
602+
color: var(--text-secondary);
603603
font-size: 0.75rem;
604604
line-height: 1.6;
605605
max-width: 500px;
@@ -609,7 +609,8 @@ a:hover {
609609
}
610610

611611
.footer-disclaimer a {
612-
color: var(--text-secondary);
612+
color: var(--text-primary);
613+
text-decoration: underline !important;
613614
}
614615

615616
.footer-disclaimer a:hover {

0 commit comments

Comments
 (0)