[wp-trac] [WordPress Trac] #35804: oEmbed iframe 'title' attribute

WordPress Trac noreply at wordpress.org
Sun Feb 21 19:06:30 UTC 2016


#35804: oEmbed iframe 'title' attribute
--------------------------+-----------------------------
 Reporter:  ramiy         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Embeds        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  accessibility
--------------------------+-----------------------------

Comment (by swissspidy):

 Thanks for your feedback, @afercia!

 Without using "Embedded WordPress post" for the stated reasons,
 `“%1$s” — %2$s` ("post title" — site name) seems
 preferable for the title attribute.

 For the `<title>` (document title) we could theoretically just use the
 post title, but `wp_get_document_title()` is more easily filterable.

 Basically, both fields should contain the same information.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35804#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list