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

WordPress Trac noreply at wordpress.org
Fri Jul 12 18:15:33 UTC 2019


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

Comment (by azaozz):

 Replying to [comment:18 swissspidy]:
 > > Could we use allow-popups or allow-popups-to-escape-sandbox in some
 way?
 >
 > Happy to give that option a try as well.
 >

 Don't think this is a good idea. There are other problems with opening
 popups (reference to the parent window, etc.) that we "don't want to deal
 with" :)

 > The patch actually seems reasonable, because when you deliberately
 perform a CMD + click / right click, then this should not necessarily go
 through the whole protection layers.

 True, but only if there is a way to do `noopener noreferrer` there :)

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


More information about the wp-trac mailing list