According to accessibility rules the media browser's iframe should have a title and name attribute.

So instead of

<iframe class="media-modal-frame ui-dialog-content ui-widget-content" src="/media/browser?render=media-popup&amp;types%5Bvideo%5D=video&amp;activePlugins=&amp;schemes%5Bvimeo%5D=vimeo&amp;schemes%5Byoutube%5D=youtube&amp;schemes%5Bpublic%5D=0&amp;schemes%5Bprivate%5D=0&amp;file_directory=video&amp;file_extensions=txt&amp;max_filesize=&amp;uri_scheme=public&amp;plugins=undefined" width="800px" id="mediaBrowser" scrolling="auto" style="width: 800px; min-height: 0px; height: 550px;">

it should be something like

<iframe class="media-modal-frame ui-dialog-content ui-widget-content" src="/media/browser?render=media-popup&amp;types%5Bvideo%5D=video&amp;activePlugins=&amp;schemes%5Bvimeo%5D=vimeo&amp;schemes%5Byoutube%5D=youtube&amp;schemes%5Bpublic%5D=0&amp;schemes%5Bprivate%5D=0&amp;file_directory=video&amp;file_extensions=txt&amp;max_filesize=&amp;uri_scheme=public&amp;plugins=undefined" width="800px" id="mediaBrowser" scrolling="auto" style="width: 800px; min-height: 0px; height: 550px;" name="add_media_window" title="Select a media file"></iframe>

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sneakyvv’s picture

Assigned: Sneakyvv » Unassigned
Status: Active » Needs review
FileSize
457 bytes

patch added

Status: Needs review » Needs work

The last submitted patch, 2065153-1.patch, failed testing.

Sneakyvv’s picture

Status: Needs work » Needs review
FileSize
404 bytes

resubmitted patch (removed local git repo reference)

Sneakyvv’s picture

Version: 7.x-1.3 » 7.x-1.5
Issue summary: View changes
FileSize
405 bytes

Rerolled against 1.5

Sneakyvv’s picture

Chris Matthews’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Status: Needs review » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team