[wp-trac] [WordPress Trac] #39097: Links in embeds can't be opened in a new tab
WordPress Trac
noreply at wordpress.org
Mon Oct 19 13:34:20 UTC 2020
#39097: Links in embeds can't be opened in a new tab
------------------------------+-----------------------------
Reporter: smerriman | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Embeds | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: accessibility
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"49202" 49202]:
{{{
#!CommitTicketReference repository="" revision="49202"
Embeds: Only catch clicks from the primary mouse button in the click
handler, without any modifier keys.
This ensures that Ctrl/Cmd + click to open a link in the embed iframe in a
new tab works as expected.
Props timhavinga, garrett-eclipse, smerriman, swissspidy, johnbillion,
Mte90, iandunn, azaozz, afercia, audrasjb, SergeyBiryukov.
Fixes #39097.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39097#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list