Currently there are no lines showing the corresponding elements when moved by keys. As this really helps when diciding to move elements, it would be great to always show them:
as it currently is

So as already said, currently the lines are just shown when arrow keys are used once:
as it should be

For me that does not make sense for these reasons:

  1. for someone using the keyboard, at the very first use there is no lines feedback which is bad
  2. for someone switching from drag&drop to keyboard drag, it's confusing (currently shown when parent element is clicked)
  3. in general the lines would improve usability

Possible solutions:

  1. always show the lines
  2. show the lines when tab was used
  3. show the lines when some element has been selected or some class on the DOM is placed or whatever


kwoxer created an issue. See original summary.

kwoxer’s picture

Issue summary: View changes
BarisW’s picture

Priority: Major » Normal
Status: Needs review » Active
Issue tags: -Needs JS testing, -Triaged for D8 major current state, -Triaged D8 major

Thanks for reporting this.

Need review is only for when there is an actual patch to review. Let's put this in the default state. Also, this isn't a major issue IMHO. Lastly, tags like 'needs accessibility review' are to be added when there is something for the accessibility team to test.

kwoxer’s picture

Issue summary: View changes
kwoxer’s picture

Issue summary: View changes
droplet’s picture

My suggestion: show lines with the `drag icon` is selected.

kwoxer’s picture

How will we continue here now? It's easy to fix but we need to know how.

mgifford’s picture

Well they don't behave link links. There's no activity that behaves like a link with the table drag interface.

I'd be fine removing the underline. I don't object to showing the line when the `drag icon` is selected or has focus. I would just like to have that be consistently applied as a pattern in Drupal. Not sure if there are any other instances where this would occur.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.