Keyboard Navigation is our first step towards an accessible Blockly.
For more information on how the default keyboard navigation works please see the documentation.
The cursor controls how the user navigates the blocks, inputs, fields and connections on a workspace. This demo shows three different cursors:
Default Cursor: This cursor uses previous, next, in, and out to navigate through the different parts of a block. See the developer documentation for more information.
Basic Cursor: Uses pre order traversal to allow users to navigate through everything using only the previous and next command.
Line Cursor: We tried to make this cursor mimic a text editor. Navigating up and down will take the cursor to the next and previous "line" of code. Navigating in and out will move the cursor through all the fields and inputs in that "line" of code.