From 727bcd800e059c3cde656d97a7bc3fd73bf6233f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 31 May 2026 17:10:09 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Enhance=20accessibili?= =?UTF-8?q?ty=20for=20PDF=20tools=20toggle=20groups?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added `role="group"` and `aria-label` to the custom toggle groups in the PDF tools page (`app/pdf-tools/page.tsx`). Also added `aria-pressed` states and `focus-visible` classes to all interactive tool selector buttons to ensure proper screen reader and keyboard navigation support. Logged this pattern to the palette journal. Co-authored-by: SillyHippy <159052837+SillyHippy@users.noreply.github.com> --- .Jules/palette.md | 4 ++++ app/pdf-tools/page.tsx | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.Jules/palette.md b/.Jules/palette.md index c84af0951..74de6707d 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -1,3 +1,7 @@ ## 2026-05-11 - Added keyboard focus to file upload controls **Learning:** File upload drag-and-drop zones and file removal buttons generated by React components in this app lacked explicit keyboard focus indicators (focus-visible classes), creating a confusing experience for keyboard users trying to submit documents. **Action:** Always ensure that any interactive element, especially custom divs and dynamically generated utility buttons, have explicit focus-visible styles to ensure full keyboard navigation support. + +## 2026-05-31 - Accessible Custom Toggle Groups +**Learning:** When using generic `