jargonsdev / jargonsdev/jargons.dev

Add Visual Cues for Keyboard Navigation in Search Dialog

Open
#35 19 comments 0 reactions 1 assignee Claimed by @motuncoded View on GitHub
:arrow_lower_right: low priority :sparkles: enhancement hacktoberfest
Dominant language
MDX
Stars
56
Forks
45
PR merge metrics
No merged PRs in 30d

Description

The Search Dialog component currently supports keyboard navigation using the up, down, and enter keys. However, there are no visual cues to indicate these key bindings to users. This issue requests the implementation of visual buttons for these key bindings at the footer of the Search Dialog to improve user experience and accessibility.

**What we've got**

![image](https://github.com/jargonsdev/jargons.dev/assets/25631971/a76a8237-737f-4d18-a90d-7773bceee001)

**What we want 😉**

![image](https://github.com/jargonsdev/jargons.dev/assets/25631971/1b7a6a6d-192d-4754-9a5d-d45c0f340800)

#### Tasks
1. **Add Buttons for Key Bindings:** Implement buttons for the up, down, and enter keys in the footer of the Search Dialog.
2. **Style Buttons:** Style the buttons to make them visually distinct and easily recognizable.

#### Related Files
- `search.jsx` component in the `src/components/islands` directory

#### Acceptance Criteria
- Visual buttons for up, down, and enter keys are displayed in the footer of the Search Dialog.

#### Additional Notes
- Consider using icons or text labels to indicate the purpose of each button.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.