Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs: fix innerText on hidden element — use sr-only instead of hidden

Sushmitha Malleshca8f87207e19
diff --git a/docs/components/quickstart/prompt-banner.tsx b/docs/components/quickstart/prompt-banner.tsx
index 6d61594ca..55964d777 100644
--- a/docs/components/quickstart/prompt-banner.tsx
+++ b/docs/components/quickstart/prompt-banner.tsx
@@ -114,7 +114,7 @@ export function PromptBanner({ children }: PromptBannerProps) {
</div>
</div>
{/* Hidden prompt content for copy button */}
- <div ref={contentRef} className="hidden">{children}</div>
+ <div ref={contentRef} className="sr-only">{children}</div>
</div>
);
}