• Resolved tracyrosen

    (@tracyrosen)


    Hello,

    I have a link within a paragraph block that I would like to open in a new tab or window.

    I slid the selector to ‘open in new tab’ but when I click the link, it opens in the same tab. (I tried to include a screenshot here but I can’t paste an image in and when I tried to share the URL from google drive, it didn’t work.)

    I tested this in an incognito window as well as another browser. It behaves the same in both Chrome and Firefox.

    You can see what I mean on this page, scroll down until this sentence, which is directly above a circular image –> Choose topics?that you would like to focus on from each of the areas. (See this in another window here.)

    Is this a known issue?

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thank you for reporting this @tracyrosen. I visited your site and I see what you mean but I did a quick test but I cannot reproduce this problem.

    If I slide the “Open in new window”, the link will indeed open the link in a separate tab. I tried this with and without the Gutenberg forum.

    It sounds like maybe this is a conflict between plugins. Could you please try deactivating all plugins, adding the link again and seeing if it works as expected?

    Thread Starter tracyrosen

    (@tracyrosen)

    Thanks – I am nervous about deactivating my translation plugin. Will deactivating it mess up all my translations? (TranslatePress)

    Thanks for your help!

    I totally understand! Deactivating a plugin and reactivating it again should not have any impact on your site but there is a safe way to test this that does not require deactivating any plugins.

    You can use the Health Check plugin’s troubleshooting mode for this, which will not change your live site. If the problem goes away, reactivate your plugins one by one (while still in troubleshooting mode) to find the culprit.

    Please let me know if that helps!

    Thread Starter tracyrosen

    (@tracyrosen)

    Thank you! The culprit is my One Click Accessibility plugin. As soon as I enabled that one in troubleshooting mode, it no longer opened in a new tab.

    Shoot. Is this an accessibility feature? Or maybe I need to find another accessibility plugin.

    Thanks again!

    Moderator Kathryn Presner

    (@zoonini)

    Glad you found the culprit!

    Indeed, I’ve heard that it’s not a good idea to force links to open in a new tabs for both accessibility and usability reasons, I think the logic being that you should let people control whether they want to open links in new tabs on their end and not try to control their workflow.

    https://www.w3.org/WAI/WCAG21/Techniques/general/G200

    But I’m not an expert in that, so if you’d like more opinions you could always try posting in the Accessibility forum!

    Thread Starter tracyrosen

    (@tracyrosen)

    I just finished reading an article on new tabs and accessibility, too. I think I’ll keep the plugin forcing the link into the same tab and add a note about right-clicking to open in a new tab if you want to.

    The idea for opening in a new tab is to be able to refer to a model independently of where you are on the site.

    It is also because, when I translate the page, I can’t translate the H5P interactive image that is on it. So I created one H5P image in French and one in English. When you are on the French site, there is the note “to see this in French, click here.” and I think in that case, it would be nice to have it in another tab or even window so people can look at it side by side with the page they are reading (if that makes sense.)

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Open link in new tab function not working’ is closed to new replies.