From c79b79628610e3018f255c5b54c0c4fb0a068950 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 05:38:40 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20ARIA=20labels?= =?UTF-8?q?=20to=20icon-only=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: threehymns <70611435+threehymns@users.noreply.github.com> --- .Jules/palette.md | 3 +++ src/components/editor/extensions/code-block-codemirror.tsx | 4 ++++ src/components/graph-tab.tsx | 4 ++++ 3 files changed, 11 insertions(+) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..31be1fb --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2024-05-23 - Accessibility of icon-only buttons +**Learning:** Found multiple instances of icon-only buttons (` @@ -485,6 +488,7 @@ const CodeMirrorComponent = ({ onClick={handleCopy} className="rounded p-1 text-muted-foreground transition-colors hover:bg-accent hover:text-foreground" title="Copy Code" + aria-label="Copy Code" > {copied ? ( setPanel(DEFAULT_PANEL)} className="size-7" > @@ -1328,6 +1329,7 @@ interface ForceGraphInstance { variant="ghost" size="icon" title="Close panel" + aria-label="Close panel" onClick={() => setPaneOpen(false)} className="size-7" > @@ -1431,6 +1433,8 @@ interface ForceGraphInstance {