MDL-36002 core: Make drag and drop keyboard friendly
authorDamyon Wiese <damyon.wiese@gmail.com>
Mon, 29 Jul 2013 14:54:00 +0000 (22:54 +0800)
committerDamyon Wiese <damyon@moodle.com>
Wed, 31 Jul 2013 08:43:25 +0000 (16:43 +0800)
commit7c271b918e24ee5a76c1898367a2f80fc21a0929
treed3615cecd4714ef613b9ee711bcf17f1e1cecdd7
parentb05cfa0e67dffa5e1f6f07fc68278ec917a6dedd
MDL-36002 core: Make drag and drop keyboard friendly

This change adds keyboard support to core drag and drop.

Selecting a grab handle and hitting enter (or space) will
open a menu of possible drop targets and allow you to choose one.

The only other UI change this implies is we need to show the grab
for blocks.
12 files changed:
course/lib.php
course/yui/dragdrop/dragdrop.js
lang/en/moodle.php
lib/outputrequirementslib.php
lib/yui/build/moodle-core-blocks/moodle-core-blocks-debug.js
lib/yui/build/moodle-core-blocks/moodle-core-blocks-min.js
lib/yui/build/moodle-core-blocks/moodle-core-blocks.js
lib/yui/dragdrop/dragdrop.js
lib/yui/src/blocks/js/blocks.js
theme/base/style/core.css
theme/bootstrapbase/less/moodle/core.less
theme/bootstrapbase/style/moodle.css