[meta] Improve the accessibility of the Token module

Created on 2 October 2024, 7 months ago

Problem/Motivation

During our discussions, the people participating in the accessibility track for the Drupal CMS agreed that it would be a good idea to assess the contrib modules that are going to get into Drupal CMS for accessibility issues #3475279: [Meta] Audit each module to be included into Drupal CMS for accessibility issues . We are well aware that, at this point, no definite decisions were made as to which modules would get in. We started the assessment under the premise that even if an evaluated module does not get into Drupal CMS in the end, it wouldn't do any harm to highlight potential a11y issues for the Token module and ideally suggest how to tackle them.

Remaining tasks

🌱 Plan
Status

Active

Version

1.0

Component

User interface

Created by

🇩🇪Germany rkoller Nürnberg, Germany

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

  • Issue created by @rkoller
  • 🇩🇪Germany rkoller Nürnberg, Germany
  • 🇩🇪Germany rkoller Nürnberg, Germany
  • 🇩🇪Germany rkoller Nürnberg, Germany
  • 🇩🇪Germany rkoller Nürnberg, Germany
  • 🇩🇪Germany rkoller Nürnberg, Germany
  • 🇨🇭Switzerland berdir Switzerland

    Thanks for starting this, well aware that accessibility and usability of the token UI is really not great. (And performance!).

    Frontend stuff is really not my area of expertise, so I can't help much there, but I can try to review and commit things that are reviewed and approved by others.

    That said, I'm not sure if granular improvements are feasible or the whole thing should be redesigned from scratch, which is what 📌 Token UI 2.0 Active would be about.

    If you have any knowledge of existing tools that could be used for such a purpose, that are better at those things out of the box than the old jquery treetable then that would be great. One of the main things it would need to support is partial/lazy loading of the structure so we avoid to load hundreds of tokens upfront and get rid of the depth limit at the same time.

    Very open to alternative UI approaches as well, I've been thinking about about some kind of mix of autocomplete and tree traversing.

  • 🇩🇰Denmark ressa Copenhagen

    What a great side effect of the Drupal CMS initiative, lifting up collectively the rest of Drupal as well, making an already amazing module even better. Nice!

Production build 0.71.5 2024