Skip to content

🎨 Palette: [UX improvement] Add dynamic accessibility labels to form list actions - #198

Closed
NSEvent wants to merge 4 commits into
mainfrom
palette/dynamic-accessibility-labels-form-lists-12435952936888014869
Closed

NSEvent wants to merge 4 commits into
mainfrom
palette/dynamic-accessibility-labels-form-lists-12435952936888014869

Conversation

@NSEvent

@NSEvent NSEvent commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

💡 What:
Added dynamic item context (the header key) to the .help() and .accessibilityLabel() modifiers of the icon-only "Remove" buttons used in Webhook Headers form lists across the app (MacroEditorSheet, ActionMappingEditor, ChordMappingSheet).

🎯 Why:
When iterating through a list of items (like form headers) using a ForEach loop, having identical "Remove header" tooltips and accessibility labels for every single minus icon creates ambiguity. VoiceOver users lose track of which row they are currently focused on, making destructive actions confusing and risky.

♿ Accessibility:
VoiceOver now correctly announces the specific item being targeted (e.g., "Remove Content-Type header, Button") instead of repeating the generic "Remove header" string for every item in the list.

📸 Before/After:

  • Before Tooltip/A11y: "Remove header"
  • After Tooltip/A11y: "Remove Content-Type header"

PR created automatically by Jules for task 12435952936888014869 started by @NSEvent

Summary by CodeRabbit

  • Accessibility
    • Removal controls for webhook headers now identify the specific header in their help text and accessibility labels.
    • Removal controls for linked apps now identify the app by its bundle ID, and linked-controller controls identify the controller by its display name.
    • These context-specific labels make it clearer which item will be removed when using the controls.

…uttons

Added dynamic context (e.g., the specific header key being removed) to the `.help()` and `.accessibilityLabel()` modifiers of the icon-only removal buttons in the Webhook Headers forms across the app. This ensures VoiceOver users hear "Remove Content-Type header" instead of just "Remove header" repeatedly.

Co-authored-by: NSEvent <44446865+NSEvent@users.noreply.github.com>
@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.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 54537f60-227d-4665-ab40-da2d729f6dbb
📥 Commits

Reviewing files that changed from the base of the PR and between 0a13eb3 and c3cfa8d.

📒 Files selected for processing (4)
  • .Jules/palette.md
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/LayerLinkedAppsSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/LinkedAppsSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/LinkedControllersSheet.swift
🚧 Files skipped from review as they are similar to previous changes (1)
  • .Jules/palette.md

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Removal controls for webhook headers, linked apps, and linked controllers now include the relevant item identifier in their help text and accessibility label. The palette adds guidance for contextual removal labels and linked-controller property names.

Changes

Contextual removal labels

Layer / File(s) Summary
Contextual removal labels
.Jules/palette.md, XboxControllerMapper/XboxControllerMapper/Views/Macros/MacroEditorSheet.swift, XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ActionMappingEditor.swift, XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ChordMappingSheet.swift, XboxControllerMapper/XboxControllerMapper/Views/MainWindow/LayerLinkedAppsSheet.swift, XboxControllerMapper/XboxControllerMapper/Views/MainWindow/LinkedAppsSheet.swift, XboxControllerMapper/XboxControllerMapper/Views/MainWindow/LinkedControllersSheet.swift
The palette adds contextual labeling guidance. Webhook header controls identify the header key; linked-app controls identify the bundle ID; linked-controller controls identify the display name.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Merge Risk: 🔵 Low · up to c3cfa

The contextual removal labels behave as intended. A minor error in internal guidance may misdirect future maintenance, but has no established user-facing impact; the PR is otherwise mergeable.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: adding dynamic accessibility labels to form-list actions.
Docstring Coverage ✅ Passed 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 6…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

google-labs-jules Bot and others added 3 commits October 6, 2026 09:31
…uttons

Added dynamic context (e.g., the specific header key being removed) to the `.help()` and `.accessibilityLabel()` modifiers of the icon-only removal buttons in the Webhook Headers forms across the app. This ensures VoiceOver users hear "Remove Content-Type header" instead of just "Remove header" repeatedly.

Co-authored-by: NSEvent <44446865+NSEvent@users.noreply.github.com>
…uttons

Added dynamic context (e.g., the specific header key or linked app bundle ID) to the `.help()` and `.accessibilityLabel()` modifiers of the icon-only removal buttons in list forms across the app. This ensures VoiceOver users hear "Remove com.apple.Safari" instead of just "Remove" repeatedly.

Co-authored-by: NSEvent <44446865+NSEvent@users.noreply.github.com>
…uttons

Added dynamic context (e.g., the specific header key or linked app bundle ID) to the `.help()` and `.accessibilityLabel()` modifiers of the icon-only removal buttons in list forms across the app. This ensures VoiceOver users hear "Remove com.apple.Safari" instead of just "Remove" repeatedly.

Co-authored-by: NSEvent <44446865+NSEvent@users.noreply.github.com>
@NSEvent

NSEvent commented Oct 11, 2026

Copy link
Copy Markdown
Owner Author

🤖 Managed by GLM-5.3 Flash (local model on kmacbeast). Closing because #199 fixed the same finding (Interpolate header key in webhook header remove buttons) and is merged.

@NSEvent NSEvent closed this Oct 11, 2026
@NSEvent
NSEvent deleted the palette/dynamic-accessibility-labels-form-lists-12435952936888014869 branch October 11, 2026 14:41
@google-labs-jules

Copy link
Copy Markdown
Contributor

🤖 Managed by GLM-5.3 Flash (local model on kmacbeast). Closing because #199 fixed the same finding (Interpolate header key in webhook header remove buttons) and is merged.

Understood. Acknowledging that this work is now obsolete and stopping work on 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