Skip to content

🎨 Palette: Search and sorting UX improvements#33

Open
Woschj wants to merge 1 commit intomainfrom
palette/search-and-sorting-ux-improvements-15691408661212009575
Open

🎨 Palette: Search and sorting UX improvements#33
Woschj wants to merge 1 commit intomainfrom
palette/search-and-sorting-ux-improvements-15691408661212009575

Conversation

@Woschj
Copy link
Owner

@Woschj Woschj commented Feb 23, 2026

💡 What: Added a "Clear Search" button and enhanced table sorting accessibility.
🎯 Why: To make the interface more intuitive and accessible for keyboard and screen reader users.
♿ Accessibility:

  • Keyboard navigation for table sorting (Enter/Space).
  • Semantic roles and ARIA labels for sorting headers.
  • Corrected malformed HTML in base template.
  • Focus visible indicators for interactive elements.

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

This commit implements several micro-UX and accessibility improvements:

1. **Clear Search Button:** Added a "Clear Search" button to the search input in `shared/list_base.html`. It appears when text is entered and allows resetting the filter with one click.
2. **Table Sorting Accessibility:** Enhanced table headers in `shared/list_base.html` with keyboard support (`role="button"`, `tabindex="0"`, Enter/Space listeners) and proper ARIA attributes (`aria-label`, `aria-sort`).
3. **Mismatched Tag Fix:** Fixed a known bug in `base.html` where a `<div>` was incorrectly closed with a `</button>`.

The search logic was made robust to handle cases where components might be missing or pre-filled. focus indicators and padding were optimized for better usability.

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