Skip to content

🎨 Palette: Enhance flight card UX with haptics and accessibility#112

Open
TargetMisser wants to merge 1 commit intomainfrom
palette-flight-ux-accessibility-16422723521319239342
Open

🎨 Palette: Enhance flight card UX with haptics and accessibility#112
TargetMisser wants to merge 1 commit intomainfrom
palette-flight-ux-accessibility-16422723521319239342

Conversation

@TargetMisser
Copy link
Copy Markdown
Owner

🎨 Palette UX Improvement: Flight Card Haptics & Accessibility

💡 What

This enhancement adds tactile feedback and programmatic accessibility to the flight card pinning gesture.

🎯 Why

Gesture-based interactions like swiping to pin/unpin flights are great for visual users but can be non-discoverable and inaccessible for screen reader users. Adding haptics provides a "delight" factor and tactile confirmation, while accessibility actions ensure the feature is usable by everyone.

♿ Accessibility

  • Descriptive Labels: Screen readers now announce flight details (number, airline, origin/destination, time, status) when focusing on a flight card.
  • Accessibility Actions: Users can now pin or unpin flights directly from the screen reader's action menu, removing the dependency on the swipe gesture.
  • Haptic Confirmation: Provides non-visual feedback when a gesture threshold is crossed.

✅ Verification

  • Ran pnpm typecheck to ensure type safety.
  • Verified DOM output via Expo Web to confirm accessibilityLabel correctly maps to aria-label.
  • Cleaned up all build artifacts and temporary dependencies before submission.

PR created automatically by Jules for task 16422723521319239342 started by @TargetMisser

- Added haptic feedback to `SwipeableFlightCard` for threshold crossing and action success.
- Implemented comprehensive `accessibilityLabel` for flight cards.
- Added `accessibilityActions` for pinning/unpinning flights to support screen reader users.
- Standardized localized strings for accessibility labels and actions.

Co-authored-by: TargetMisser <52361977+TargetMisser@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.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flight-work-app Ready Ready Preview, Comment, Open in v0 Apr 20, 2026 0:31am

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