Posted by germanocarella on November 25, 2018 at 10:51am
Hi,
I'm Germano from Italy.
I'm a blind developer and I use drupal 7 for my website.
I have a problem with book weight range: in drag & drop mode, I can write all chapters I want and reorder it by dragging. So, Drag & drop is not accessible for screen reading software. Therefore I use weight combobox to reorder book items. Unfortunately, book weight range is -15...15, so, only 31 items can be reordered.
There is an other way to perform this action? Or a module?
I would like to have a module that is compatible with drupal 8 also, 'cause I will migrate my website to drupal 8 as soon.
Thanks for your response.
Germano
Comments
Thanks for this feedback
Thanks for this feedback, this is definitely something we should address in Drupal core.
I'm not aware of any contrib module which can help, though I have a few ideas about how to improve it. The most straightforward way would be to change the weight field from a drop-down select to a plain text input, or maybe the HTML5 number input. I had a go at writing a D8 module to make this change using hook_form_alter(), but it was trickier than I expected. I'll give it another go if I get time.
Meanwhile, I filed a Drupal core issue to modernize the tabledrag widget. ARIA wasn't well supported when we wrote the tabledrag javascript in Drupal 7, but ARIA is well supported now so we may be able to get the tabledrag handles to report their "position in set" to assistive technology. See the Modernize tabledrag accessibility. core issue. Note, that issue will target Drupal 8 - a backport to Drupal 7 may be possible but we can't guarantee that.