feat: add keyboard shortcuts and accessibility navigation support#652
Open
vikrantkulkarni07 wants to merge 1 commit into
Open
feat: add keyboard shortcuts and accessibility navigation support#652vikrantkulkarni07 wants to merge 1 commit into
vikrantkulkarni07 wants to merge 1 commit into
Conversation
|
@vikrantkulkarni07 is attempting to deploy a commit to the CodeBlooded's projects Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
it solves issue #600 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Author
|
Please look into hoping for getting merged if any thing is there please let me know |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Closes #600
This PR adds keyboard accessibility and productivity-focused navigation support to Nyay Setu to improve usability, accessibility, and faster keyboard-driven workflows.
Features Added
Keyboard Shortcuts
Implemented global keyboard shortcuts:
Shift + /→ Open keyboard shortcuts help modalEsc→ Close shortcuts modal/→ Quick access to AI legal assistantg + h→ Navigate to Homeg + c→ Navigate to legal AI assistant / chatbotAccessibility Improvements
Prevents shortcuts from triggering while typing inside:
Added discoverable keyboard shortcuts help modal
Improved keyboard-first accessibility and navigation experience
Implementation Details
Added
src/hooks/useKeyboardShortcuts.jssrc/components/common/KeyboardShortcutsModal.jsxUpdated
src/App.jsxWhy This Matters
Nyay Setu is an interactive platform where users frequently navigate between dashboards, legal assistance tools, and workflows.
These keyboard enhancements improve:
This aligns with modern accessibility and web application UX best practices.
