You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let keyboard users reach the agent panel and keep focus in it #812
Open ?mock=connected, focus the AI title-bar button, and press Enter. The panel opens, but focus stays on the AI button.
Press Tab repeatedly. Focus walks the theme and window buttons, the connection tabs, the sidebar and the query toolbar, then stays inside Monaco ("Editor content" on every press). After 60 presses it still had not reached "Start Claude Agent".
Start a session with the mouse. Focus drops to <body>.
Answer an approval dialog. Focus again lands on <body>, not the message box.
Cause
src/components/agent/AgentPanel.tsx does no focus management.
src/components/layout/AppLayout.tsx:319: the panel comes after the editor in DOM order, and Monaco captures Tab.
Fix
Move focus into the panel when it opens: the first Start button, or the message box when a session is running. Focus the message box after start() resolves and after an approval or proposal dialog closes.
Activity
fix: move keyboard focus into the agent panel