This plugin for Blockly enables keyboard navigation. It is intended to experiment with different actions that might help visually impaired and motor impaired people navigate a Blockly workspace.
You can explore the current state of the plugin on the test page.
There is also an existing keyboard navigation plugin. That plugin may be where a finalized version of keyboard navigation eventually lives. But for now, this is where experimentation will be done.
yarn add @blockly/keyboard-experiment
npm install @blockly/keyboard-experiment --save
import * as Blockly from 'blockly';
import {KeyboardNavigation} from '@blockly/keyboard-experiment';
// Inject Blockly.
const workspace = Blockly.inject('blocklyDiv', {
toolbox: toolboxCategories,
});
// Initialize plugin.
const keyboardNav = new KeyboardNavigation(workspace);
To learn more about contributing to this project, see the contributing page.