When terminal is hidden by default, it's still possible to navigate to that hidden element with keyboard or assistive technologies. Even writing commands to the terminal works.
Link to a StackBlitz project which shows the error
This seems to consider all usage of react-resizable-panels. When fixing this, make sure to check codebase for // TODO: Requires #245 comments and fix those as well.
Describe the bug
When terminal is hidden by default, it's still possible to navigate to that hidden element with keyboard or assistive technologies. Even writing commands to the terminal works.
Link to a StackBlitz project which shows the error
No response
Steps to reproduce
Toggle terminal
with keyboardnpm start
Expected behavior
When terminal is not visually present, it should not be part of tab order or accessibility tree. Maybe it shouldn't even be in the DOM.
Screenshots
JS console logs the
document.activeElement
while I'm navigating the DOM with keyboard. Whentextarea
is reached, I'm writingnpm run start
.https://github.com/user-attachments/assets/2511a479-d49f-4413-9301-3a646676a9e2
Platform
Additional context
No response