Allow content authors to define location for long description in CKEditor image plugin

Created on 26 April 2019, over 5 years ago
Updated 26 May 2023, over 1 year ago

Problem/Motivation

There's a sandbox project that demonstrates some changes we could make to allow our content authors to create more accessible content.

One of the changes the sandbox is proposing is allowing content authors to define a location for a long description. Long descriptions are visible on the screen since they can be useful not only for screen reader users but for users with other kinds of disabilities. For example, a person with learning difficulties can find it hard to process a diagram and would prefer to read an explanation of the content of the diagram.

Proposed resolution

Add a select box allowing to define the position of a long description. This adds an attribute to the image. Based on the attribute a filter will add text to the alt text in the correct language.

Compare this to our current UI:

Remaining tasks

-

User interface changes

TBD

API changes

-

Data model changes

-

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component
Editor 

Last updated 4 days ago

Created by

🇫🇮Finland lauriii Finland

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

Not all content is available!

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

Production build 0.71.5 2024