Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix(docs): address Claude review — aria-hidden on SVG, mobile wrap
- Add aria-hidden="true" to decorative sparkle SVG - Add flex-wrap on mobile, flex-nowrap on sm+ to prevent overflow Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmitha Mallesh committed
Mar 7, 2026 at 00:18 UTC
6bbfb34ba2d53419bfc3b26350f3bbb5d3324b78
1 file changed
+2
-2
docs/components/quickstart/prompt-banner.tsx
+2
-2
@@ -113,7 +113,7 @@ export function PromptBanner({ children }: PromptBannerProps) {
113
114
return (
115
<div className="not-prose mb-6">
116
- <div className="relative flex items-center justify-between gap-6 overflow-hidden rounded-xl border border-fd-border bg-fd-card px-5 py-4">
116
+ <div className="relative flex flex-wrap items-center justify-between gap-4 overflow-hidden rounded-xl border border-fd-border bg-fd-card px-5 py-4 sm:flex-nowrap sm:gap-6">
117
{/* Shader gradient blobs */}
118
<div
119
className="pointer-events-none absolute -left-16 -top-24 h-64 w-64 rounded-full"
@@ -129,7 +129,7 @@ export function PromptBanner({ children }: PromptBannerProps) {
129
/>
130
131
{/* Sparkle */}
132
- <svg className="relative shrink-0" width="28" height="28" viewBox="0 0 28 28" fill="none">
132
+ <svg className="relative shrink-0" aria-hidden="true" width="28" height="28" viewBox="0 0 28 28" fill="none">
133
<path d="M14 2L16.1 11.9L26 14L16.1 16.1L14 26L11.9 16.1L2 14L11.9 11.9L14 2Z" fill="var(--composio-orange)" opacity="0.25"/>
134
</svg>
135