From 517df5aa08ec368125636c42af3f1f203cc9f707 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 20:52:11 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Enhance=20table=20sor?= =?UTF-8?q?ting=20accessibility=20and=20search=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change implements a micro-UX improvement for the inventory list views: - Added keyboard navigation support (Enter/Space) and proper ARIA roles/attributes to table sorting headers. - Added visual focus indicators to sortable headers for better keyboard accessibility. - Updated the search bar to use modern DaisyUI 'join' layout for improved visual grouping. - Fixed a syntax error in base.html (unbalanced HTML tags for QuickScan trigger). ♿ Accessibility: - Added role="button", tabindex="0", and aria-label to sortable headers. - Implemented aria-sort state updates for screen reader feedback. - Fixed stray button tag to ensure a valid DOM tree. 🎯 Why: Users relying on keyboard navigation were previously unable to sort tables. Screen reader users lacked feedback on the current sort state. The search UI was using deprecated DaisyUI components. Co-authored-by: Woschj <81321922+Woschj@users.noreply.github.com> --- .Jules/palette.md | 4 ++++ app/templates/base.html | 2 +- app/templates/shared/list_base.html | 34 ++++++++++++++++++++++------- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/.Jules/palette.md b/.Jules/palette.md index 3ce56a2..1a248b0 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -7,3 +7,7 @@ ## 2026-02-15 - [Semantic Form Labels] **Learning:** Even with clear visual labels, missing `for` attributes on `