Make WordPress Core

Opened 7 months ago

Closed 6 months ago

#63442 closed defect (bug) (duplicate)

URL to WordPress release notes - open in the new window

Reported by: vyskoczilova's profile vyskoczilova Owned by:
Milestone: Priority: low
Severity: normal Version:
Component: Administration Keywords: has-patch 2nd-opinion close
Focuses: accessibility Cc:

Description

The URL to WordPress release notes links to a page on wordpress.org, but it does not open in the new URL, which is confusing. You have to click "back" to return to your site to update it.

This fix adds target="_blank" to the links.
I have already provided a fix on Github, I will try to link it here.

Change History (8)

This ticket was mentioned in PR #8801 on WordPress/wordpress-develop by @vyskoczilova.


7 months ago
#1

The URL to WordPress release notes links to a page on wordpress.org, but it does not open in the new URL, which is confusing. You have to click "back" to return to your site to update it.

This fix adds target="_blank" to the links.

Trac ticket: [](https://core.trac.wordpress.org/ticket/63442)

#2 @davidbaumwald
7 months ago

  • Focuses accessibility added
  • Keywords 2nd-opinion close added
  • Priority changed from normal to low

Hi @vyskoczilova and thanks for the ticket! Over the last few years, Core has been removing target="_blank" in most places for accessibility reasons. Mainly that uses should have control over whether they want to open things in an ew tab.

Pinging @joedolson for confirmation, but I think this is a close candidate.

#3 @vyskoczilova
7 months ago

Ah, I see. Haven't thought that it could be an accessibility issue. But from my user perspective, it makes me mad every time I click on it since I can never figure out which link will lead to the update and which to the latest updates. That time I tried to fix it for everyone, but I get it, although from my point of view it's a pain.

#4 @audrasjb
7 months ago

Hello and thanks for the ticket and patch,
The only acceptable patch for this would be to add "(Opens in a new tab)" in this text string, so the user knows the behavior of the link. But it also complexifies the readability of the link for everyone.

#5 @vyskoczilova
7 months ago

Hi @audrasjb From my point of view, way better with "Opens in a new tab", let me know, if I should add it.

#6 @joedolson
7 months ago

Yes, core is only using target='_blank' in cases where navigating to a new page would risk data loss. If necessary, links could be added that open in new tabs as long as they're clearly noted as such (as @audrasjb) says above, but it's preferable to leave it up to the user.

For predictability, it's better if all links open in the same way, as well, so that a user can have consistent expectations of behavior.

The essential problem is that links that do not have target="_blank" allow a user to choose how they wish to open the link, but links with target="blank" only allow the user to open them in a new tab, which can introduce an undesirable change of context.

#7 @vyskoczilova
7 months ago

@joedolson Yeah, I get it. But looking at the changelog that overwrites my currently opened admin page takes me out of context. I don't expect to open a new page in the same window if it's sure that I would like to continue working on what I've been doing at that time (navigating admin and probably wanting to update WP core).

Anyways, I will leave it up to you (open to update the pull request in any way if you give it a green light). Thank you for the effort you have already put into this ticket!

#8 @sabernhardt
6 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

I needed to run a few searches to find it, but we already have a ticket about this: #52953.

Note: See TracTickets for help on using tickets.