Skip to content

🎨 Palette: Add dynamic accessibility context to Community Profile checkbox#64

Open
NSEvent wants to merge 3 commits into
mainfrom
palette-a11y-community-profile-row-2321091371159725096
Open

🎨 Palette: Add dynamic accessibility context to Community Profile checkbox#64
NSEvent wants to merge 3 commits into
mainfrom
palette-a11y-community-profile-row-2321091371159725096

Conversation

@NSEvent

@NSEvent NSEvent commented Jun 24, 2026

Copy link
Copy Markdown
Owner
  • 💡 What: Added .help and .accessibilityLabel modifiers to the checkmark selection button in the Community Profiles list.
  • 🎯 Why: The icon-only button (circle / checkmark.circle.fill) lacked a tooltip for hover context and had no screen reader label, leaving VoiceOver users without any context on what the button toggles. Additionally, context uses the profileInfo.displayName to disambiguate identical-looking toggles in the list.
  • 📸 Before/After: No visual changes besides standard system tooltips.
  • Accessibility: VoiceOver now correctly reads "Select [Profile Name]" or "Deselect [Profile Name]" rather than just announcing "button".

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

Summary by CodeRabbit

  • Accessibility Improvements
    • Improved icon-only list selection controls by adding contextual help and screen-reader labels.
    • Labels now update dynamically to announce whether the action will select or deselect a profile, including the profile’s display name for clarity in repeated lists.

Adds `.help()` and `.accessibilityLabel()` modifiers with dynamic context (the profile's display name) to the icon-only selection button in the `CommunityProfileRow` list view. This improves UX for VoiceOver users and provides visual tooltips on hover.

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 Jun 24, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Too many files!

This PR contains 188 files, which is 38 over the limit of 150.

To get a review, narrow the scope:
• coderabbit review --type committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

Upgrade to a paid plan to raise the limit.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: db90b34e-a6f8-41b6-baf5-12fc3ad67260

📥 Commits

Reviewing files that changed from the base of the PR and between 0583752 and 4fa4bd6.

⛔ Files ignored due to path filters (1)
  • XboxControllerMapper/XboxControllerMapper/Resources/OuraGestureClassifier.mlpackage/Data/com.apple.CoreML/weights/weight.bin is excluded by !**/*.bin
📒 Files selected for processing (188)
  • .Jules/palette.md
  • .Jules/sentinel.md
  • .github/workflows/test.yml
  • .gitignore
  • ARCHITECTURE.md
  • CHANGELOG.md
  • FEATURES.md
  • Makefile
  • OuraGestureModel/.gitignore
  • OuraGestureModel/README.md
  • OuraGestureModel/build_dataset.py
  • OuraGestureModel/evaluate.py
  • OuraGestureModel/export.py
  • OuraGestureModel/model.py
  • OuraGestureModel/replay_ml.py
  • OuraGestureModel/retrain_session.sh
  • OuraGestureModel/search-results.json
  • OuraGestureModel/search.py
  • OuraGestureModel/train.py
  • OuraGestureModel/verify_coreml.py
  • README.md
  • Scripts/release.sh
  • Scripts/run-direct-xctest.sh
  • Tools/oura-calibration/PACKETLOGGER-CAPTURE.md
  • Tools/oura-calibration/analyze.py
  • Tools/oura-calibration/analyze_gestures.py
  • Tools/oura-calibration/app.js
  • Tools/oura-calibration/decode_pklg.py
  • Tools/oura-calibration/gestures.html
  • Tools/oura-calibration/gestures.js
  • Tools/oura-calibration/index.html
  • Tools/oura-calibration/serve.py
  • Tools/oura-calibration/style.css
  • Tools/oura-calibration/tune_gestures.py
  • XboxControllerMapper/XboxControllerMapper/Config.swift
  • XboxControllerMapper/XboxControllerMapper/Info.plist
  • XboxControllerMapper/XboxControllerMapper/Models/CommandWheelAction.swift
  • XboxControllerMapper/XboxControllerMapper/Models/ControllerButton.swift
  • XboxControllerMapper/XboxControllerMapper/Models/ControllerButtonAvailability.swift
  • XboxControllerMapper/XboxControllerMapper/Models/ControllerButtonCategory.swift
  • XboxControllerMapper/XboxControllerMapper/Models/ControllerButtonPresentation.swift
  • XboxControllerMapper/XboxControllerMapper/Models/ControllerButtonSymbols.swift
  • XboxControllerMapper/XboxControllerMapper/Models/ControllerPairingGuide.swift
  • XboxControllerMapper/XboxControllerMapper/Models/ControllerPreviewLayout.swift
  • XboxControllerMapper/XboxControllerMapper/Models/JoystickSettings.swift
  • XboxControllerMapper/XboxControllerMapper/Models/Layer.swift
  • XboxControllerMapper/XboxControllerMapper/Models/Profile.swift
  • XboxControllerMapper/XboxControllerMapper/Models/StickTuning.swift
  • XboxControllerMapper/XboxControllerMapper/Models/SystemCommand.swift
  • XboxControllerMapper/XboxControllerMapper/Resources/OuraGestureClassifier.mlpackage/Data/com.apple.CoreML/model.mlmodel
  • XboxControllerMapper/XboxControllerMapper/Resources/OuraGestureClassifier.mlpackage/Manifest.json
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService+AppleTVRemoteHID.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService+EightBitDoHID.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService+GenericHID.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService+Haptics.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService+LED.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService+Motion.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService+NintendoHID.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService+SteamHID.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService+Touchpad.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerService.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/ControllerTypeState.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Controller/HIDControllerDriverDescriptor.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Input/InputSimulator.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Input/InputSimulatorCursorState.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Input/ModifierKeyEmissionPolicy.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Input/PointerLockMousePolicy.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Input/SystemCommandExecutor.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Input/UniversalControlMouseRelay.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/ButtonMappingResolutionPolicy.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/ControllerInputEvent.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/ControllerInputEventRouting.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/JoystickDirectionResolver.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/JoystickHandler.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/JoystickStickStrategies.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/JoystickStickStrategy.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/MappingActionExecutor.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/MappingEngine.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/MappingEngineState.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/MappingProfileIndex.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Mapping/TouchpadInputHandler.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Oura/OuraAutoRecenterMonitor.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Oura/OuraGestureEventClassifier.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Oura/OuraGestureRecognizers.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Oura/OuraMotionMapper.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Oura/OuraMotionTrace.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Oura/OuraRingInputService.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Oura/OuraRingProtocol.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Oura/OuraTapSequenceRecognizer.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Permissions/PermissionsManager.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Profile/ProfileImportSafetyAuditor.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Profile/ProfileManager+MappingsLayers.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Profile/ProfileManager.swift
  • XboxControllerMapper/XboxControllerMapper/Services/Scripting/ScriptEngine.swift
  • XboxControllerMapper/XboxControllerMapper/Services/UI/OnScreenKeyboardManager.swift
  • XboxControllerMapper/XboxControllerMapper/Views/Components/ControllerTypeProviding.swift
  • XboxControllerMapper/XboxControllerMapper/Views/Components/InputLogView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/Components/StreamOverlayView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/Macros/MacroListView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ActionMappingEditor.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ActiveChordsView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ActiveSequencesView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ButtonMappingsTab.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ChordMappingSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ChordSequenceListViews.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ChordsTab.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/CommandPalette.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/CommunityProfilesSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ContentToolbar.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ContentView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ControllerAnalogOverlay.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ControllerMinimapLayout.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ControllerPairingHintView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ControllerVisualDescriptor.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ControllerVisualView+OuraRing.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/ControllerVisualView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/GestureListViews.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/GestureMappingSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/LEDSettingsView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/LayerSheets.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/LayerTabBar.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/MappingEditorState.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/PairingMinimapView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/RecommendationsSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/RingSettingsView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/SequenceMappingSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/SequencesTab.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/SettingsSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/SettingsViews.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/StatsView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/TouchpadRegionMappingSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/MainWindow/WrappedCardSheet.swift
  • XboxControllerMapper/XboxControllerMapper/Views/Onboarding/OnboardingModel.swift
  • XboxControllerMapper/XboxControllerMapper/Views/Onboarding/OnboardingView.swift
  • XboxControllerMapper/XboxControllerMapper/Views/Scripts/ScriptListView.swift
  • XboxControllerMapper/XboxControllerMapper/XboxControllerMapperApp.swift
  • XboxControllerMapper/XboxControllerMapperTests/BugFixTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ChordMappingEngineTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/CommandPaletteFilterTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ControllerBatteryPolicyTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ControllerButtonCoverageTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ControllerInputEventTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ControllerLockTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ControllerPairingGuideTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ControllerServiceCallbackProxyTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ControllerSnapshotTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ControllerVisualDescriptorTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ControllerVisualRenderingTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/DoubleTapAndLongHoldTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/EngineStateAndEdgeCaseTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/HIDControllerDriverDescriptorTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/JoystickAndMouseMappingTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/JoystickCustomDirectionMappingTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/JoystickMathTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/JoystickSettingsPointerLockCodableTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/KeychainServiceTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/LayerAndConfigCoverageTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/LayerStickModeOverrideTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/MacroEngineTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/MainWindowSectionVisibilityTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/MappingEngineBugfixTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/MappingEngineCharacterizationTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/MappingEngineCoreTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/MappingEngineLayerAndLifecycleTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/MappingEngineTestCase.swift
  • XboxControllerMapper/XboxControllerMapperTests/MappingEngineTouchpadCoverageTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ModelCodableCoverageTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ModifierAndComboTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ModifierKeyEmissionPolicyTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/OBSWebSocketTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/OnboardingFlowTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/OuraRingInputTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/PerStickTuningTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/PipelineCharacterizationTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/PointerLockMousePolicyTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/PrecomputedLookupCacheTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ProfileDefaultMappingsTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/ProfileEqualityTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/SequenceDetectionTests.swift
  • XboxControllerMapper/XboxControllerMapperTests/TouchpadGestureTests.swift
  • appcast.xml
  • community-profiles/Google Slides & PowerPoint.json
  • community-profiles/Google Slides & PowerPoint.md
  • docs/CONTROLLER_INPUT_ISSUES.md
  • docs/internal/INPUT_PIPELINE_REVIEW.md
  • docs/internal/REFACTORING_BACKLOG_2026-06.md
  • fix.swift
  • version.env

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The PR adds dynamic .help(...) and .accessibilityLabel(...) modifiers to the icon-only selection checkbox in CommunityProfileRow, using the profile name and selection state. A palette entry documents the same accessibility pattern.

Changes

Community Profile Checkbox Accessibility

Layer / File(s) Summary
Checkbox accessibility modifiers and palette guidance
XboxControllerMapper/.../CommunityProfilesSheet.swift, .Jules/palette.md
Adds dynamic help and accessibility text for selecting or deselecting a profile, and documents the icon-only control pattern.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

🚥 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 matches the main change: adding dynamic accessibility context to the Community Profile checkbox.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch palette-a11y-community-profile-row-2321091371159725096

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.

NSEvent and others added 2 commits July 13, 2026 14:34
Adds `.help()` and `.accessibilityLabel()` modifiers with dynamic context (the profile's display name) to the icon-only selection button in the `CommunityProfileRow` list view. This improves UX for VoiceOver users and provides visual tooltips on hover.

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