Videos embedded using the Vimeo module fail accessibility checks for the American Section 508 standard.

Specifically, they fail on this rule.

Rule: 1.1.6 - All IFRAME elements are required to contain element content.

Still figuring out what this means, but at this point this basically means that organizations requiring compliance with section 508 (the US government and many US state governments) will not be able to use this module.

Also, this may be an issue with Vimeo, not the Vimeo module. Will update issue as I learn more.

Comments

escoles’s picture

It looks as though this particular rule could be addressed by including text in the iframe. As a test, I made the following modification:

/**
 * Theme function for 'default' vimeo field formatter.
 */
function theme_vimeo_formatter_default($element) {
  if (isset($element['#item']['value']) && !empty($element['#item']['value']) ) {
    $video_vid = $element['#item']['value'];
    return '<iframe src="http://player.vimeo.com/video/' . $video_vid . '?title=0&amp;byline=0&amp;portrait=0" 
    width="' . variable_get('vimeo_width', 640) . '" height="' . variable_get('vimeo_height', 360) . '" frameborder="0">Your browser does not support iframes.</iframe>';
  }
  else {
    // Nothing to output
    return '';
  }
}

i.e., adding "Your browser does not support iframes" inside the iframe, and the page now passes the Cynthia Says section 508 scan (see http://cynthiasays.com/).

An ideal solution would be to make this text configurable in some way, but even a generic replacement should satisfy automated section 508 screeners.

(Now if we could just get them to support closed-captioning...)

escoles’s picture

Title: Accessibility of embedded videos » Add 'alt' text for iframes to conform to accessibility requirements
Category: support » feature

Changing (belatedly) to a feature request. This seems like a simple fix, and would serve as a bandaid for anyone trying to use Vimeo on a site where Section 508 compliance is required.

Note: I can't speak to whether this would satisfy WCAG.

mgifford’s picture

Version: 6.x-1.0-beta1 » 7.x-1.x-dev
Issue summary: View changes
Issue tags: +Accessibility