-
Notifications
You must be signed in to change notification settings - Fork 578
Resizable separator: inactive with keyboard #2110
Copy link
Copy link
Labels
Description
Bug Report
Problematic behavior
The resizable separator between the sidebar and the main content is reachable via Tab. The Home and End keys work correctly, but the left and right arrow keys do not allow resizing the panels.
Expected behavior/code
The left and right arrow keys must allow progressive resizing of the sidebar, just as Home and End allow reaching the extreme values.
Steps to Reproduce
- Open a document in Docs
- Navigate with the keyboard using Tab to the resizable separator
- Press the left and right arrow keys
- The panels do not resize — unlike Home and End which work
Possible Solution
<PanelResizeHandle
onKeyDown={(e) => {
// Home et End déjà implémentés
// Ajouter la gestion des flèches
if (e.key === 'ArrowLeft') resizePanel(-1);
if (e.key === 'ArrowRight') resizePanel(1);
}}
/>
Critères RGAA
Critère 7.1 : Chaque script est-il, si nécessaire, compatible avec les technologies d'assistance ?
Impact
A user navigating exclusively with the keyboard can reach the separator and toggle between minimum and maximum sizes via Home and End, but cannot perform progressive resizing with the arrow keys.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done
Status
Done