Embedded Youtube or Vimeo videos (in 7.x-3.0) and all iframe embeds (in 7.x-3.x-dev) have 'frameborder = 0' tags in them. This is failing the W3C HTML 5 (Experimental) Validator (yeah i know, it's not in stone, but still fails validation).

Returns this error: The frameborder attribute on the iframe element is obsolete. Use CSS instead.

Perhaps in the future versions this is stripped out and you can impose no border in the video_filter.css file instead?

I'd post a patch, but I'm still miserable at git. :) Thanks.

Comments

minnur’s picture

Version: 7.x-3.0 » 8.x-1.x-dev
Assigned: Unassigned » minnur
Issue summary: View changes
minnur’s picture

Status: Active » Postponed

I feel like we can revise this issue later. Most services still generate iframe tags with frameborder=0.

minnur’s picture

Assigned: minnur » Unassigned
minnur’s picture

Status: Postponed » Closed (fixed)

This can be fixed in the theme level. Simply override theme function in D7 or override twig templates in D8.