Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294323

Differentiate visually dragging with and without hierarchy

$
0
0

Problem/Motivation

Dragging menu items or terms can have hierarchy and motion in 4 directions.
Dragging blocks in block layout does not have hierarchy and only has up and down motion.
User does not have visual clues on whether or not a draggable list has hierarchy or not.
Detail of the dragging interface for block layout
Detail of the dragging interface or terms

(This change might also contribute to solutions to comply with WCAG 2.2. criteria 2.5.7 dragging movements)

Steps to reproduce

Pages such as Block layout have 4-directional arrow icons to mark the table rows that can be dragged.
Hovering and som other actions on the scale the icon.

Proposed resolution

Common icon for draggability helps identify draggable icons.
When "acitve" the modified icon could mark what kind of dragging is supported in that particular view.
Dragging icons with highlighted directions

Remaining tasks

  • Allow CSS to know if a draggable item table has hierarchy or not
  • Instead of scaling use different Icons or use a suitable more complex transformation
  • Map areas that tabledrag works only vertically or horizontally direction and add the correct parameters to display the correct icon

User interface changes

Active version of the dragging icon has alternative versions depending on the allowed action.

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 294323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>