Skip to content

tashee/blockly-keyboard-experimentation

 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.1%
  • JavaScript 26.9%
  • HTML 2.0%