You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7ed9174
Browse filesBrowse the repository at this point in the historyBrowse files
feat(web): make the right-panel resize handle keyboard operable
The handle was pointer-only, so panel width was the one part of the layout a
keyboard user could not reach.
- Arrow keys nudge it by 8px, Shift makes the step 48px, Home/End park it at
either extreme. Keys are spatial: ArrowLeft always moves the handle left,
which widens or narrows depending on which edge it is anchored to.
- The handle is focusable and announces itself as a window splitter
(aria-label / valuenow / valuemin / valuemax) instead of a bare separator.
- The 1px line lights up on keyboard focus too — otherwise focus would sit on
something invisible.
The direction and step rules are a pure function (`nextWidthForKey`) with unit
tests; the new props are optional so existing call sites keep compiling.
Co-Authored-By: Claude Opus 5 <[email protected]>
0 commit comments