Skip to content

🎨 Palette: Enhance Search UX and Table Sorting Accessibility#52

Open
Woschj wants to merge 1 commit intomainfrom
palette-ux-enhancement-search-sorting-8287173071626781996
Open

🎨 Palette: Enhance Search UX and Table Sorting Accessibility#52
Woschj wants to merge 1 commit intomainfrom
palette-ux-enhancement-search-sorting-8287173071626781996

Conversation

@Woschj
Copy link
Owner

@Woschj Woschj commented Mar 2, 2026

This PR introduces micro-UX and accessibility improvements to the core list view used across Scandy.

💡 What:

  • Search Bar Upgrade: Switched to DaisyUI join and added a "Clear Search" button that appears when typing.
  • Empty States: Added a "No results found" row that appears automatically when filtering returns no matches.
  • Accessibility (A11y): Transformed static table headers into interactive buttons with proper ARIA attributes (role="button", tabindex="0", aria-sort, aria-label).
  • Keyboard Support: Enabled Enter and Space keys to trigger sorting, with a visual focus ring for better navigation.

🎯 Why:

The previous search was basic and lacked clear feedback for empty states. More importantly, the table sorting was completely inaccessible to keyboard and screen reader users. These changes ensure a more delightful and inclusive experience for all users.

♿ Accessibility Improvements:

  • Screen readers now announce the sortable nature of columns and their current sort state.
  • Keyboard users can now sort tables using standard interaction keys.
  • Visual focus indicators help sighted keyboard users track their position.

PR created automatically by Jules for task 8287173071626781996 started by @Woschj

- Modernized search bar using DaisyUI `join` component.
- Added a "Clear Search" button for improved usability.
- Implemented "No results found" feedback row in list tables.
- Enhanced table sorting with full keyboard accessibility (role="button", tabindex="0", Enter/Space support).
- Added screen reader support via `aria-sort` and descriptive `aria-label` attributes.
- Centralized these improvements in `shared/list_base.html` to benefit all list views.

Co-authored-by: Woschj <81321922+Woschj@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant