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

🏷️ a11y: add aria-label to close button and aria-hidden to SVG (#3698)

Marco Beretta5de3b8a148dd
diff --git a/client/src/components/Chat/Input/AddedConvo.tsx b/client/src/components/Chat/Input/AddedConvo.tsx
index e3cacb9f4b..f57f079b80 100644
--- a/client/src/components/Chat/Input/AddedConvo.tsx
+++ b/client/src/components/Chat/Input/AddedConvo.tsx
@@ -43,6 +43,7 @@ export default function AddedConvo({
<button
className="text-token-text-secondary flex-shrink-0"
type="button"
+ aria-label="Close added conversation"
onClick={() => setAddedConvo(null)}
>
<svg
@@ -52,6 +53,7 @@ export default function AddedConvo({
fill="none"
viewBox="0 0 24 24"
className="icon-lg"
+ aria-hidden="true"
>
<path
fill="currentColor"