-
Notifications
You must be signed in to change notification settings - Fork 0
50 make navigation controls tabbable for accessibility #59
50 make navigation controls tabbable for accessibility #59
Conversation
WalkthroughA new keyboard accessibility module for UI menus is introduced alongside integration updates. Elevation slider behavior is refined with integer rounding and discrete steps. Camera sync logic is updated to consider control types and elevation for globe visibility. Minor housekeeping includes header removal and whitespace cleanup. Changes
Sequence DiagramsequenceDiagram
participant Init as Potree Init
participant MAT as makeMenuTabbable()
participant DOM as UI Elements
participant User as User (Keyboard)
participant PV as Potree Viewer
Init->>MAT: Call after GUI setup
activate MAT
MAT->>DOM: Set tabIndex on components
MAT->>DOM: Attach keydown handlers (Enter/Space)
MAT->>DOM: Setup mutation observers
MAT->>DOM: Coordinate focus targets
deactivate MAT
User->>DOM: Press Tab/Enter/Arrow Keys
activate DOM
DOM->>DOM: Trigger keyboard handlers
alt Menu/Panel Navigation
DOM->>DOM: Update focus or click element
else Tools/Scene Interaction
DOM->>PV: Switch control mode or focus
PV->>PV: Update Potree viewer state
end
deactivate DOM
DOM-->>User: Visual feedback
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Free 📒 Files selected for processing (5)
💤 Files with no reviewable changes (1)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue number
Closes #50
Description
Make it possible to navigate the side bar with tabbing
PS: Its not perfect, some stuff are still not tabbable, but had some issues and don't have more time to fix it
Testing steps
Tab through the sidebar!
Summary by CodeRabbit
Release Notes
New Features
Improvements