Skip to content

feat: add keyboard shortcuts and accessibility navigation support#652

Open
vikrantkulkarni07 wants to merge 1 commit into
viru0909-dev:mainfrom
vikrantkulkarni07:feat/keyboard-accessibility
Open

feat: add keyboard shortcuts and accessibility navigation support#652
vikrantkulkarni07 wants to merge 1 commit into
viru0909-dev:mainfrom
vikrantkulkarni07:feat/keyboard-accessibility

Conversation

@vikrantkulkarni07
Copy link
Copy Markdown

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 modal
  • Esc → Close shortcuts modal
  • / → Quick access to AI legal assistant
  • g + h → Navigate to Home
  • g + c → Navigate to legal AI assistant / chatbot

Accessibility Improvements

  • Prevents shortcuts from triggering while typing inside:

    • input fields
    • textarea fields
    • select fields
    • contenteditable elements
  • Added discoverable keyboard shortcuts help modal

  • Improved keyboard-first accessibility and navigation experience

Implementation Details

Added

  • src/hooks/useKeyboardShortcuts.js
  • src/components/common/KeyboardShortcutsModal.jsx

Updated

  • src/App.jsx

Why This Matters

Nyay Setu is an interactive platform where users frequently navigate between dashboards, legal assistance tools, and workflows.

These keyboard enhancements improve:

  • accessibility
  • usability
  • faster navigation
  • keyboard-first productivity
  • discoverability of shortcuts

This aligns with modern accessibility and web application UX best practices.
Screenshot (146)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

@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.

@vikrantkulkarni07
Copy link
Copy Markdown
Author

it solves issue #600

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

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

Project Deployment Actions Updated (UTC)
nyaysetu Ready Ready Preview, Comment May 26, 2026 5:02am

@vikrantkulkarni07
Copy link
Copy Markdown
Author

Please look into hoping for getting merged if any thing is there please let me know

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.

[FEAT]: Add keyboard shortcuts and accessibility navigation support

1 participant