Content translation settings UI should leverage Drupal.announce() to inform screen reader users of dynamic changes

Created on 21 July 2013, almost 11 years ago
Updated 29 May 2023, about 1 year ago

Updated: Comment #1

Problem/Motivation

The content translation settings UI is a really complex and, most of all, dynamic UI. Enabling a checkbox, for instance, can make a new table in a different place show up (e.g. enabling translation for a certain entity type) or simply make other table rows show up (e.g. enabling translation for a certain entity bundle make its field translation settings show up in the same table).. Vice-versa, disabling checkboxes make the same elements hidden to the user.

Proposed resolution

These are really dynamic changes and we should inform screen reader users about them, otherwise they will have a lot of troubles understanding how the UI works. Luckily, we have a Javascript utility that has been created exactly for this purpose: informing screen reader users of dynamic content changes. It is the Drupal.announce() utility and the Content translation settings UI should leverage it whenever the UI changes dynamically.

Remaining tasks

TBD

User interface changes

Yes. Screenreader interface changes to announce parts that are live, when they change.

API changes

No.

Related Issues

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Content translation 

Last updated 2 days ago

No maintainer
Created by

🇮🇹Italy falcon03

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.

  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024