Skip to content

google/blockly-keyboard-experimentation

Blockly Keyboard Experimentation

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.

Testing in your app

Installation

Yarn

yarn add @blockly/keyboard-experiment

npm

npm install @blockly/keyboard-experiment --save

Usage

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);

Contributing

To learn more about contributing to this project, see the contributing page.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •