As reported by yched in issue #322 June 22, 2010 - 12:35 of #448292: Drag and Drop for table rows is not accessible to screen-reader users
small issue :
- switch to 'manual mode ('show weights)
- change weights so that the ordering is different (i.e give the 1st row a higher weight than the second row)
- go back to 'drag mode' ('hide weights'), drag and drop order is now inconsistent with the actual weights.When going back to 'drag mode', the order of the rows should be updated to match the manually entered weights ?
I've detailed the problem further in the screenshots below. Some swift javascript should be able to clean up this UI issue. It's not critical, but it would be a nice thing to fix up in D7.
| Comment | File | Size | Author |
|---|---|---|---|
| screen-capture-14.png | 57.87 KB | mgifford | |
| screen-capture-13.png | 63.39 KB | mgifford | |
| screen-capture-12.png | 55.9 KB | mgifford |
Comments
Comment #1
franzThis is still the same on D8, and definetely a nice improv. I lack the skills to mess that much with Drupal js, can someone point me a direction? I think tabledrag.js needs a special function for that .reorderRows() maybe?
Comment #2
nod_I'm not sure introducing more code to tabledrag is a good idea.
I'll link back from #1524414: Rewrite tabledrag.js to use jQuery UI
Comment #3
hass commented#1704590: Field item ordering changed randomly after drag & dropped form is saved/previewed describe an issue that looks related.
Comment #4
nod_I don't want to change the current tabledrag code to support this.
This would be a feature for a rewrite of tabledrag.