From 72e6d8df4bd3186ba7d05cb00657560c7558bb51 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 05:20:27 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20accessibility?= =?UTF-8?q?=20attributes=20to=20remove=20property=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💡 What: Added `aria-label` and `title` to the "Remove property" icon-only button in the frontmatter editor. 🎯 Why: To improve accessibility for screen readers and provide a helpful tooltip for mouse users, as the button previously only contained an icon. ♿ Accessibility: Improved screen reader support by providing an explicit accessible name. Co-authored-by: threehymns <70611435+threehymns@users.noreply.github.com> --- .Jules/palette.md | 0 src/components/frontmatter-editor.tsx | 2 ++ 2 files changed, 2 insertions(+) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..e69de29 diff --git a/src/components/frontmatter-editor.tsx b/src/components/frontmatter-editor.tsx index 1e33ea0..3be33ee 100644 --- a/src/components/frontmatter-editor.tsx +++ b/src/components/frontmatter-editor.tsx @@ -296,6 +296,8 @@ export function InlineFrontmatterEditor({ size="icon" className="opacity-0 group-focus-within:opacity-100" onClick={() => removeProperty(index)} + title="Remove property" + aria-label="Remove property" >