Problem/Motivation

Layout Builder blocks can be repositioned by dragging, but there is currently no visual feedback indicating this draggability is possible.

Proposed resolution

When hovering over a block, change cursor to "Move" and display an icon in the left corner indicating the block is draggable (perhaps the move.svg icon used by .handle).

Remaining tasks

User interface changes

TBD

API changes

n/a

Data model changes

n/a

Release notes snippet

n/a

Comments

bnjmnm created an issue. See original summary.

andrewmacpherson’s picture

Issue tags: +Accessibility

When hovering over a block, change cursor to "Move" and display an icon in the left corner indicating the block is draggable

Why hovering? That will only convey the information to a user with a hover-capable pointer.

If you're going to use an icon to indicate draggability, convey it to all pointer users. Otherwise this creates inequality by witholding information from pointer users who are capable of drag but not hover (finger, some styli).

Recommendation: if an indicator of draggability is needed, show it all the time to everyone. Otherwise, it may not occur to someone to try to drag it.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

bnjmnm’s picture

Status: Active » Closed (duplicate)
Issue tags: -Accessibility

Closing, This was addressed by changes in two other recently committed issues

The cursor now changes to "move" when hovering over non-interactive parts of a block
#2959493: Allow Layout Builder live previews to be toggled to allow easier drag-and-drop

The parts of the block that should or should not be interactive were decided on and implemented here
#2973921: Interactive controls inside preview block in the Layout Builder form should be disabled.