[wp-trac] [WordPress Trac] #39097: Links in embeds can't be opened in a new tab

WordPress Trac noreply at wordpress.org
Thu Dec 8 01:36:18 UTC 2016


#39097: Links in embeds can't be opened in a new tab
---------------------------------------+------------------------------
 Reporter:  smerriman                  |       Owner:
     Type:  defect (bug)               |      Status:  reopened
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Embeds                     |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:
---------------------------------------+------------------------------

Comment (by smerriman):

 Yep, the other ticket contains details on the same issue. This feels like
 a pretty major flaw of embeds though.

 Website owners often add target="_blank" to try to "keep people on their
 site" - this is of course a bad thing to do as discussed in the other
 ticket. However, having a feature which *forces* someone off their site,
 highly unexpectedly, and disables the right click context menu feels even
 worse. I can't imagine any site owner would want to use embeds if they
 knew this would be the result.

 I'm sure there were good reasons for hijacking the links in the way done
 currently, but most uses of iframes would never require this - does the
 gain outweigh the cost?

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


More information about the wp-trac mailing list