🎨 Palette: [UX improvement] Fix list item keyboard accessibility - #154
🎨 Palette: [UX improvement] Fix list item keyboard accessibility#154NSEvent wants to merge 3 commits into
Conversation
Co-authored-by: NSEvent <44446865+NSEvent@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. |
|
Warning Review limit reachedNext included review available in 16 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughMacro and script list rows now use plain SwiftUI buttons for edit actions instead of container-level tap gestures. Existing row content, layout, and full-row hit areas remain unchanged. The project guidance documents this pattern. ChangesList row interaction updates
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized accessibility update changes list rows to standard buttons while preserving their appearance and click area; no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Title checkExplanation The title clearly identifies the main change: improving keyboard accessibility for list items. The wording is concise and directly matches the replacement of gesture-based rows with accessible SwiftUI buttons. Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: NSEvent <44446865+NSEvent@users.noreply.github.com>
Co-authored-by: NSEvent <44446865+NSEvent@users.noreply.github.com>
💡 What: Replaced
.onTapGestureon list items inMacroListView.swiftandScriptListView.swiftwith standard SwiftUIButtons that use.buttonStyle(.plain).🎯 Why: Using
.onTapGestureon generic containers likeHStackbreaks keyboard interactivity (tab navigation) and VoiceOver semantic roles. For interactive list items, wrapping them in a standardButtonpreserves these accessibility features.📸 Before/After: Visually identical, but keyboard navigation and screen readers now recognize the items as buttons.
♿ Accessibility: Restored proper semantic button traits to Macro and Script list rows, ensuring they are navigable by VoiceOver and keyboard users while preserving the full clickable area via
.contentShape(Rectangle()).PR created automatically by Jules for task 2799901301008972683 started by @NSEvent
Summary by CodeRabbit