Accessibility: Add title attribute for iframe element

Created on 18 January 2024, 5 months ago
Updated 22 January 2024, 5 months ago

Problem/Motivation

Iframe elements need a title attribute for accessibility.
Currently this module doesn't provide any kind of title attribute. It's not very easy to use for example, the media entity name as the title because the template doesn't know about it.

Steps to reproduce

Just use the module and inspect the iframe element generated by this module and you'll notice there is no title attribute.

Proposed resolution

* Let the template know about the media entity name and try to use it as a title.
* Provide a default value if the title is empty (for some reason).

✨ Feature request
Status

Needs review

Version

2.1

Component

Code

Created by

🇫🇮Finland hartsak

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024