Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🖊️ fix: Add left border accent to active conversation for WCAG 1.4.11 compliance (#10696)

Danny Avilab1e31fdc9728
diff --git a/client/src/components/Conversations/Convo.tsx b/client/src/components/Conversations/Convo.tsx
index 1a43c23332..d4808089c4 100644
--- a/client/src/components/Conversations/Convo.tsx
+++ b/client/src/components/Conversations/Convo.tsx
@@ -132,8 +132,10 @@ export default function Conversation({ conversation, retainView, toggleNav }: Co
return (
<div
className={cn(
- 'group relative flex h-12 w-full items-center rounded-lg transition-colors duration-200 md:h-9',
- isActiveConvo ? 'bg-surface-active-alt' : 'hover:bg-surface-active-alt',
+ 'group relative flex h-12 w-full items-center border-l-2 transition-[background-color] duration-200 md:h-9',
+ isActiveConvo
+ ? 'rounded-r-lg border-l-border-xheavy bg-surface-active-alt'
+ : 'rounded-lg border-l-transparent hover:bg-surface-active-alt',
)}
role="button"
tabIndex={renaming ? -1 : 0}
diff --git a/client/src/components/Conversations/ConvoLink.tsx b/client/src/components/Conversations/ConvoLink.tsx
index e75c6bc2e7..68c16594a5 100644
--- a/client/src/components/Conversations/ConvoLink.tsx
+++ b/client/src/components/Conversations/ConvoLink.tsx
@@ -30,10 +30,7 @@ const ConvoLink: React.FC<ConvoLinkProps> = ({
>
{children}
<div
- className={cn(
- 'relative flex-1 grow overflow-hidden whitespace-nowrap',
- isActiveConvo && 'italic',
- )}
+ className="relative flex-1 grow overflow-hidden whitespace-nowrap"
style={{ textOverflow: 'clip' }}
onDoubleClick={(e) => {
if (isSmallScreen) {