[wp-trac] [WordPress Trac] #40245: Youtube embed -- need space to put title="" in iframe

WordPress Trac noreply at wordpress.org
Thu Mar 23 20:34:07 UTC 2017


#40245: Youtube embed -- need space to put title="" in iframe
-----------------------------+-----------------------------
 Reporter:  morriscountynj   |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Embeds           |    Version:  4.7.3
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 I use a service called Siteimprove to monitor for accessibility issues.
 They pointed out an issue -- when you embed a Youtube video via a link,
 the code comes out something like this


 {{{
 <iframe width="960" height="540"
 src="https://www.youtube.com/embed/iGddWyoWkyg?feature=oembed"
 frameborder="0" allowfullscreen=""></iframe>
 }}}

 However, Siteimprove gives that an A-level error:

 '''The iFrame is missing a description'''
 The iFrame has no 'title' attribute or the 'title' attribute is empty.
 Provide the frame with the attribute title=”” and add a description of the
 content in the title.

 Is there any way to add a field to enter a title for the iframe?

 See this page for an example:
 [http://accessibility.page.report/GBXGDGIFJJABIHIIAUFJ/106149/20912373122#automatic/4.1.2/13
 Example]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40245>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list