Skip to content

Commit

Permalink
Announce block moving instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Jun 17, 2020
1 parent e94d031 commit 49b3ce1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/block-editor/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,14 @@ export function* setBlockMovingMode( isBlockMovingMode = null ) {
type: 'SET_BLOCK_MOVING_MODE',
isBlockMovingMode,
};

if ( isBlockMovingMode ) {
speak(
__(
'Use the Tab key and Arrow keys to choose new block location. Use Left and Right Arrow keys to move between nesting levels. Once location is selected press Enter or Space to move the block.'
)
);
}
}

/**
Expand Down

0 comments on commit 49b3ce1

Please sign in to comment.