Skip to content

Commit d65c7de

Browse files
committed
fix(web): make ChatGPT plan guidance keyboard accessible
1 parent 43f7abd commit d65c7de

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎apps/web/src/components/chat/ChatGptSharingControl.tsx‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ export function ChatGptSharingControl({ provider }: { provider: ServerProvider |
1010
<div className="flex items-center justify-between gap-4 border-t px-3 py-2">
1111
<Tooltip>
1212
<TooltipTrigger
13-
render={<span className="flex items-center gap-2 text-xs text-muted-foreground" />}
13+
render={
14+
<span
15+
tabIndex={0}
16+
className="flex items-center gap-2 rounded-sm text-xs text-muted-foreground outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"
17+
/>
18+
}
1419
>
1520
<OpenAI className="size-3.5" aria-hidden="true" />
1621
Using ChatGPT plan

0 commit comments

Comments
 (0)