Skip to content

Add keyboard accessibility to the sell key modal so all actions are reachable without a mouse #722

Description

@Chucks1093

Summary

The sell key modal cannot be fully operated via keyboard — focus is not trapped and pressing Escape does not close it. Fixing this makes the feature accessible to keyboard-only and assistive technology users.

Scope

  • Trap focus inside the modal while it is open (Tab and Shift+Tab cycle within)
  • Set initial focus on the quantity input when the modal opens
  • Pressing Escape closes the modal
  • The confirm button is reachable via Tab and activatable via Enter or Space
  • Return focus to the trigger button when the modal closes

Acceptance Criteria

  • Focus trapped inside the modal while open
  • Initial focus lands on the quantity input
  • Escape closes the modal
  • Confirm button activatable via keyboard
  • Focus returned to trigger button on close

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions