Add title and aria-labels to iframe to improve a11y

Created on 12 November 2024, about 1 month ago

Problem/Motivation

The <iframe> inside of the <noscript> doesn't have the required title tag. According to the WCAG https://www.w3.org/WAI/WCAG21/Techniques/html/H64 guidelines, each iframe should have a unique title tag.

Furthermore, I think we should also add the aria-hidden="true" attribute, because the content of the iFrame shouldn't be visible for screenreaders.

Steps to reproduce

Proposed resolution

Add a title attribute to the iframe tag.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.1

Component

Code

Created by

🇳🇱Netherlands timohuisman Leiden, Netherlands

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.71.5 2024