a11y: add keyboard Escape listener to command palette modal
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- react, typescript
- Domain
- accessibility, frontend
Research direction
Start in src/features/command-center/command-palette-modal.tsx and inspect how the Ctrl+K/Cmd+K modal opens, closes, and manages focus. Add the Escape-key behavior so the dialog closes gracefully and focus returns to the previously focused element; done means both keyboard shortcuts still open the modal and Escape dismisses it accessibly.
Written by the indexing model from the issue text.
Description
🎯 What needs to be done
Ensure the Command Palette modal (Ctrl+K / Cmd+K) listens for the Escape key event and gracefully closes the dialog, returning focus to the previous element.
Why this matters
Keyboard accessibility requires that all modal dialogs can be dismissed with the standard Escape key.
📍 Where to work
src/features/command-center/command-palette-modal.tsx
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 7
- Avg merge
- 58m
- Merged PRs (30d)
- 42
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TheVicky1/Pact_OS
-
area:dashboard beginner friendly bug community contributions-welcome copy difficulty:beginner difficulty:easy good first issue hacktoberfest help wanted open-source up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
accessibility area:tasks beginner friendly bug community contributions-welcome difficulty:beginner difficulty:easy good first issue hacktoberfest help wanted open-source up-for-grabs
Difficulty 2/5 Under an hour Newbie friendliness 92/100
-
area:habits beginner friendly bug community contributions-welcome difficulty:beginner difficulty:easy good first issue hacktoberfest help wanted open-source ui up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
area:tasks beginner friendly bug community contributions-welcome difficulty:beginner difficulty:easy good first issue hacktoberfest help wanted open-source testing up-for-grabs
Difficulty 2/5 Under an hour Newbie friendliness 92/100
-
area:core beginner friendly bug community contributions-welcome difficulty:beginner difficulty:easy good first issue hacktoberfest help wanted jsdoc open-source up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
All issues in TheVicky1/Pact_OS
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100