Module Description
Synopsis
This text format filter helps ensure that embedded <iframe> tags include a title attribute, in order to comply with WCAG guidelines. When an iFrame does not have a title attribute, this filter parses the src attribute's URL and adds a title attribute that reads "Embedded content from [url]".
A number of Drupal filters generate iframes (e.g., media, video_filter, but their compliance with iFrame accessibility requirements varies. This filter is meant to be a universal band-aid to this particular guideline.
Requirements
This module requires no modules outside of Drupal core.
Under "Filter processing order," make sure that this filter is set to run after any HTML filtering, as well as after any filters that would be generating iFrames (e.g., video_filter).
This text format filter helps ensure that embedded <iframe> tags include a title attribute, in order to comply with WCAG guidelines. When an iFrame does not have a title attribute, this filter parses the src attribute's URL and adds a title attribute that reads "Embedded content from [url]".
A number of Drupal filters generate iframes (e.g., media, video_filter, but their compliance with iFrame accessibility requirements varies. This filter is meant to be a universal band-aid to this particular guideline.
Requirements
This module requires no modules outside of Drupal core.
Under "Filter processing order," make sure that this filter is set to run after any HTML filtering, as well as after any filters that would be generating iFrames (e.g., video_filter).
Module Link
Project Usage
297
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to ensure that embedded <iframe> tags include a title attribute to comply with WCAG guidelines.
Data Name
iframe_title_filter