Achieve 100% Lighthouse accessibility and SEO on all pages

- Fix color contrast: emerald-600 → emerald-700 for WCAG AA compliance
- Fix heading hierarchy across all pages (h1 → h2 → h3 → h4)
- Lazy load NebulaField with next/dynamic and requestIdleCallback
- Remove debug console.log statements
- Add .env.example for Turnstile configuration
- Update documentation with audit results
This commit is contained in:
jwinterm
2026-01-17 11:15:51 -05:00
parent f2940ad956
commit 3c1e0b659c
10 changed files with 200 additions and 225 deletions
+5 -5
View File
@@ -33,10 +33,10 @@ export default function AboutPage() {
<div className="grid md:grid-cols-2 gap-10 mb-12">
<div>
<h3 className="text-xl font-bold mb-4 flex items-center gap-2">
<FaBuilding className="text-primary" />
<h2 className="text-xl font-bold mb-4 flex items-center gap-2">
<FaBuilding className="text-primary" />
Headquarters
</h3>
</h2>
<address className="not-italic text-muted-foreground space-y-1 pl-7 border-l-2 border-border ml-2">
<p>Such Software LLC</p>
<p>110 E State St</p>
@@ -65,7 +65,7 @@ export default function AboutPage() {
<div className="flex flex-col justify-center items-center bg-muted/30 rounded-xl p-6">
<div className="text-center">
<h3 className="text-lg font-semibold mb-2">Connect</h3>
<h2 className="text-lg font-semibold mb-2">Connect</h2>
<p className="text-sm text-muted-foreground mb-4">Find us on your favorite platforms</p>
<div className="flex gap-6 justify-center">
<a href="https://x.com/such_software" target="_blank" rel="noopener noreferrer" className="text-muted-foreground hover:text-primary transition-colors">
@@ -86,7 +86,7 @@ export default function AboutPage() {
</div>
<div className="border-t border-border/50 pt-10">
<h3 className="text-2xl font-bold mb-6 text-center">Leadership</h3>
<h2 className="text-2xl font-bold mb-6 text-center">Leadership</h2>
<FounderSignature />
</div>
+3 -3
View File
@@ -38,7 +38,7 @@ export default function Home() {
<div className="w-full max-w-6xl mx-auto mb-16 px-4">
<div className="text-left mb-8 section-container border-l-4 border-l-blue-500">
<h3 className="text-3xl font-bold mb-3 tracking-tight text-foreground">Selected Works</h3>
<h2 className="text-3xl font-bold mb-3 tracking-tight text-foreground">Selected Works</h2>
<p className="text-muted-foreground text-lg max-w-3xl leading-relaxed">
A curated gallery of recent projects where we've pushed the boundaries of
performance, accessibility, and user experience.
@@ -49,7 +49,7 @@ export default function Home() {
<div className="w-full max-w-6xl mx-auto mb-20 px-4">
<div className="text-left mb-12 section-container border-l-4 border-l-purple-500">
<h3 className="text-3xl font-bold mb-3 tracking-tight text-foreground">Inclusive by Design</h3>
<h2 className="text-3xl font-bold mb-3 tracking-tight text-foreground">Inclusive by Design</h2>
<p className="text-muted-foreground text-lg max-w-3xl leading-relaxed">
We believe the web is for everyone. Every line of code we write is
audited for WCAG 2.2 compliance and high-performance across all devices.
@@ -60,7 +60,7 @@ export default function Home() {
<div id="contact" className="w-full mt-20 mb-20 flex flex-col items-center">
<div className="w-full max-w-6xl text-left mb-12 section-container border-l-4 border-l-cyan-500">
<h3 className="text-3xl font-bold mb-3 tracking-tight text-foreground">Start a Project</h3>
<h2 className="text-3xl font-bold mb-3 tracking-tight text-foreground">Start a Project</h2>
<p className="text-muted-foreground text-lg max-w-3xl leading-relaxed">
Ready to build something exceptional? Drop us a line and let's discuss
how we can help you scale your digital presence.