diff --git a/web/src/components/TradeProfileManager.tsx b/web/src/components/TradeProfileManager.tsx index 5b63c41..93cb0de 100644 --- a/web/src/components/TradeProfileManager.tsx +++ b/web/src/components/TradeProfileManager.tsx @@ -1031,7 +1031,19 @@ export const TradeProfileManager = ({ botState = DEFAULT_BOT_STATE }: TradeProfi ? 'border-[var(--border-strong)] bg-[var(--card-elevated)]' : 'border-[var(--border)] bg-[var(--muted)]/35' }`}> -
toggleRule(rule.id)} className="px-4 py-3 flex items-center justify-between cursor-pointer group"> +
toggleRule(rule.id)} + onKeyDown={(event) => { + if (event.key === 'Enter' || event.key === ' ') { + event.preventDefault(); + toggleRule(rule.id); + } + }} + className="group flex cursor-pointer items-center justify-between px-4 py-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]" + >