From 2e070e2331a99c3014ec45f2586023a84addb5fd Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Thu, 30 Apr 2026 21:52:47 -0400 Subject: [PATCH] seo: add sr-only static role text so crawler sees content that animated typewriter hides --- src/components/Hero.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index 70b4d91..17548fb 100755 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -53,7 +53,7 @@ export default function Hero() {
Production switcher panel Wild Dragon
- {/* Animated role tagline */} + {/* Animated role tagline — static version for crawlers */}
-

+ {/* Visible animated text */} +

+ {/* Screen-reader / crawler accessible static version */} +

+ {roles.join(" · ")} +

{/* Name */} @@ -159,6 +164,7 @@ export default function Hero() { {/* Scroll indicator */}