In the media library, announce the type of media being selected

Created on 23 September 2019, almost 5 years ago
Updated 9 September 2023, 12 months ago

Problem/Motivation

In reviewing #3035331-14: Improve keyboard focus behaviour of vertical tabs in MediaLibraryWidget β†’ , @rainbreaw had this to say:

My Media field allows for Audio, Image, and Video. When I use the space key on the Add Media button in the field on a clean form, it loads the modal, with the Audio tab selected.

The screen reader tells me which tab is selected, and the visuals clearly indicate which tab is focused.

Pressing the tab key gets me to the next vertical tab, and tells me which one it is ("link, Video") and so on.

The thing that I wish, however, is that once I get into the select media button, that it would tell me what type of media I'm selecting. I have to remember that I was on Audio first, and then tabbed through the image and video options without selecting them, if I want to be sure of what type of content I'm adding.

After a bit of discussion, we agreed to open a follow-up (i.e., this issue) for that last bit.

Proposed resolution

The checkboxes that select media items in the library should announce the type of media they are selecting to screen readers and other assistive tech.

Remaining tasks

Figure out the best way to do this, then make it happen.

User interface changes

TBD, but the media library will be a little clearer to assistive tech/screen readers.

API changes

None anticipated.

Data model changes

None anticipated.

Release notes snippet

TBD

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated 1 minute ago

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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