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 {