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

Comments

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 JavaScript testing, -Triaged for D8 major current state, -Triaged core 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.

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

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

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

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

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

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

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

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

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

smustgrave’s picture

Category: Bug report » Feature request
Issue tags: -JavaScript, -Vienna2017, -Needs JavaScript testing +JavaScript, +Bug Smash Initiative, +Needs issue summary update

This came up as a daily BSI target, not 100% convinced it's a bug though so moving to feature request.

I tested on D11 with a menu and confirmed it doesn't show the lines when moving links under each other.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.