From 7b5d291644029a27a5bdd284eb51d6061a2664b3 Mon Sep 17 00:00:00 2001 From: Molecule AI Core-UIUX Date: Sun, 17 May 2026 23:59:53 +0000 Subject: [PATCH] fix(canvas): WCAG 1.1.1/1.3.1/2.4.7 on ChatTab, FileTree, secrets-section - ChatTab: add aria-label + focus-visible ring to Send button (WCAG 2.4.7, 4.1.2) - FileTree: add aria-hidden=true to decorative chevron + folder emoji (WCAG 1.1.1) - secrets-section: add aria-label to key-name + value inputs (WCAG 1.3.1) Co-Authored-By: Claude Opus 4.7 --- canvas/src/components/tabs/ChatTab.tsx | 3 ++- canvas/src/components/tabs/FilesTab/FileTree.tsx | 4 ++-- canvas/src/components/tabs/config/secrets-section.tsx | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/canvas/src/components/tabs/ChatTab.tsx b/canvas/src/components/tabs/ChatTab.tsx index d6a9b85ca..274a84961 100644 --- a/canvas/src/components/tabs/ChatTab.tsx +++ b/canvas/src/components/tabs/ChatTab.tsx @@ -676,7 +676,8 @@ function MyChatPanel({ workspaceId, data }: Props) { diff --git a/canvas/src/components/tabs/FilesTab/FileTree.tsx b/canvas/src/components/tabs/FilesTab/FileTree.tsx index 0e32bc455..7469b9d32 100644 --- a/canvas/src/components/tabs/FilesTab/FileTree.tsx +++ b/canvas/src/components/tabs/FilesTab/FileTree.tsx @@ -209,8 +209,8 @@ function TreeItem({ onContextMenu={(e) => openContextMenu(e, node)} {...dragProps} > - {isLoading ? "…" : expanded ? "▼" : "▶"} - 📁 + + {node.name}