Skip to content

🎨 Palette: Form label and modal focus improvements#19

Open
jspann21 wants to merge 1 commit into
mainfrom
palette-a11y-focus-labels-5713560957112697567
Open

🎨 Palette: Form label and modal focus improvements#19
jspann21 wants to merge 1 commit into
mainfrom
palette-a11y-focus-labels-5713560957112697567

Conversation

@jspann21
Copy link
Copy Markdown
Owner

@jspann21 jspann21 commented Jun 5, 2026

💡 What: Added autoFocus to the primary input in ManualBookModal, converted a heading to a semantic <label> in IntegrationsSection, and added an aria-label to the folder input in LibrarySourcesSection.
🎯 Why: To improve keyboard navigation flow when opening modals, and to ensure screen readers can properly announce form inputs in settings.
Accessibility: Screen reader users will now hear the correct label associations for the API key and folder inputs. Keyboard users will immediately have focus on the first interactive element when opening the Add Book modal without needing extra tab presses.


PR created automatically by Jules for task 5713560957112697567 started by @jspann21

- Converted the non-semantic `<h4>` header to a proper `<label>` element for the Google Books API Key input.
- Added an `aria-label` to the folder path input in the library sources settings.
- Added `autoFocus` to the primary title input field in the Add Book Manually modal to improve keyboard navigation flow.

Co-authored-by: jspann21 <179991454+jspann21@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown

👋 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