[wp-trac] [WordPress Trac] #44007: Making a child theme link should open in new tab
WordPress Trac
noreply at wordpress.org
Wed May 23 14:11:35 UTC 2018
#44007: Making a child theme link should open in new tab
-----------------------------------------------+---------------------------
Reporter: subrataemfluence | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback close | Focuses:
| accessibility
-----------------------------------------------+---------------------------
Changes (by afercia):
* keywords: has-patch 2nd-opinion => has-patch reporter-feedback close
Comment:
We've discussed this ticket during today's accessibility bug-scrub. In
core, target=_blank is discouraged unless there's the risk of data loss
(e.g. when something has been entered in a form). There has been some
previous work and discussion on target=_blank see
https://core.trac.wordpress.org/query?keywords=~target-blank
In this specific case, we're not sure what the value of opening a new tab
would be. As a general rule, links should just navigate to a new page in
the same tab. Considering that:
- this popup appears just once
- clicking the link doesn’t causes any loss of data, as nothing has been
edited yet
We'd be inclined to not use target=_blank in this case, unless there some
specific scenario where it would be valuable.
@subrataemfluence when you have a chance, could you please explain why
this link should open in a new tab in your opinion?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44007#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list