Skip to content

🎨 Palette: [UX improvement]#382

Draft
yeboster wants to merge 1 commit into
mainfrom
palette-ux-improvement-trailing-icon-18084020956277354914
Draft

🎨 Palette: [UX improvement]#382
yeboster wants to merge 1 commit into
mainfrom
palette-ux-improvement-trailing-icon-18084020956277354914

Conversation

@yeboster

Copy link
Copy Markdown
Contributor

💡 What: I conditionally rendered the "clear search" trailing icon in the domain search Textfield so that it only appears and takes up space when the user actually types something. I also updated its aria-label from a generic "cancel" to a descriptive "clear search".
🎯 Why: Currently, the close icon is always rendered, meaning users tabbing through the interface can focus on it and attempt to clear an empty search field, which is a confusing and slightly broken experience.
📸 Before/After: Before: Cancel icon is visibly interactive on empty state. After: Clean search field until input.
♿ Accessibility: I removed an empty focus trap (actionable button with no purpose) and updated the aria-label to properly describe the button's action. I also updated the withTrailingIcon attribute dynamically to maintain SMUI's layout boundaries.


PR created automatically by Jules for task 18084020956277354914 started by @yeboster

Conditionally rendered the clear search button and its layout spacing when there is an active search to prevent unnecessary tab stops. Updated the aria label to be more descriptive.

Co-authored-by: yeboster <[email protected]>
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment Jun 28, 2026 7:55pm

@google-labs-jules

Copy link
Copy Markdown
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