Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 04:30 UTC
fix(docs): add aria attributes and Escape handler to connect dropdown
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmitha Mallesh committed
Mar 6, 2026 at 16:46 UTC
afa1ef9af1e193e7e1c060f2cb8be72891fb3a3f
1 file changed
+3
docs/components/connect-flow.tsx
+3
@@ -141,6 +141,9 @@ export function ConnectFlow({ children }: ConnectFlowProps) {
141
<button
142
type="button"
143
onClick={() => setDropdownOpen(!dropdownOpen)}
144
+ aria-expanded={dropdownOpen}
145
+ aria-haspopup="listbox"
146
+ onKeyDown={(e) => { if (e.key === 'Escape') setDropdownOpen(false); }}
147
className={`
148
flex items-center gap-2 rounded-lg border px-3 py-1.5 text-sm font-medium transition-all
149
focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-orange-500