Repository navigation
🎨 Palette: Add type="search" to search inputs for better mobile UX - #454
arcanistzed wants to merge 4 commits into
Conversation
Added `type="search"` to search inputs across hardware catalogue pages to enable native browser clear buttons and trigger optimal search keyboards on mobile devices, improving usability and accessibility without requiring custom JS/CSS. Recorded this critical learning in `.jules/palette.md`. Co-authored-by: arcanistzed <82790112+arcanistzed@users.noreply.github.com>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Co-authored-by: arcanistzed <82790112+arcanistzed@users.noreply.github.com>
Co-authored-by: arcanistzed <82790112+arcanistzed@users.noreply.github.com>
Co-authored-by: arcanistzed <82790112+arcanistzed@users.noreply.github.com>
💡 What
Added
type="search"to search<input>fields across the user-facing and internal hardware catalogue pages. Added a journal entry to.jules/palette.mdfor this UX insight.🎯 Why
This micro-interaction ensures that when users tap on the search input on mobile devices, their OS displays an optimized "search" keyboard layout (typically showing a "Search" or magnifying glass icon instead of "Return/Enter"). Furthermore, modern desktop browsers often provide a built-in "clear" (x) button natively for inputs marked as
type="search".♿ Accessibility
Using semantically correct input types (
type="search"instead of defaulttype="text") helps assistive technologies correctly announce the field's explicit purpose and functionality beyond relying solely on labels.PR created automatically by Jules for task 18248978088325770722 started by @arcanistzed