Tabbing Gets Stuck in Code Editor #3437
Labels
Area:Accessibility
Category for accessibility related features and bugs
Area:Editor
For CodeMirror-related features
Bug
Status: On Hold
p5.js version
No response
What is your operating system?
None
Web browser and version
No response
Actual Behavior
When using the p5.js Web Editor, pressing the Tab key inside the Code Editor causes the focus to get trapped. It behaves like an indentation key (which is expected in a code editor), but this results in an infinite tab trap, making it impossible for users to navigate to any UI components outside the editor using only the keyboard
Expected Behavior
Users should be able to press a keyboard shortcut (e.g., Esc or Ctrl + M) to exit the editor and resume normal tab focus movement across the interface.
Alternatively, consider adding an invisible but focusable element after the editor to allow users to tab out.
Steps to reproduce
Steps:
// Paste your code here :)
The text was updated successfully, but these errors were encountered: