From 3e9249c7099ed7632799e31ccfd77a91baf6a0c6 Mon Sep 17 00:00:00 2001 From: cbavidge1989-ctrl <265520210+cbavidge1989-ctrl@users.noreply.github.com> Date: Fri, 3 Jul 2026 23:11:42 +0000 Subject: [PATCH] feat: add aria-labels to diff view buttons for accessibility Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> --- .Jules/palette.md | 3 +++ Server/src/diffView/diffView.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 00000000..ffd11553 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2026-07-03 - Add ARIA Labels to Diff View Buttons +**Learning:** Adding descriptive aria-label attributes to buttons that contain text (e.g., Undo, Keep) can provide more specific context for screen reader users (e.g., Undo changes, Keep changes) in critical interaction areas like a diff viewer. +**Action:** Consistently evaluate action buttons for screen reader context and add aria-label attributes where the visible text might be too brief or ambiguous out of context. diff --git a/Server/src/diffView/diffView.html b/Server/src/diffView/diffView.html index de32b013..7940d914 100644 --- a/Server/src/diffView/diffView.html +++ b/Server/src/diffView/diffView.html @@ -19,8 +19,8 @@