• Hello there, I have a question. I just updated to wordpress 5.9 and wanted to try out the full site editor with the 2022 theme. Things do work, got a navigation bar of somewhat how I want things to go but I want some external links to open up in a new tab. How do I go about doing this? I don’t see it when I go to link settings when editing the link in the navbar and I don’t see said option when I edit the navigation menu settings. Did this option get removed because I cannot find it anywhere what so ever. Thanks in advance.

    • This topic was modified 2 years, 9 months ago by jonnyboy1991.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi
    In the navigation block, there is a toggle option for opening links in a new tab, but it is only visible when you:

    – Add a new link to the block
    – Select an existing, individual navigation link and open the link setting in the block toolbar.

    Thread Starter jonnyboy1991

    (@jonnyboy1991)

    Hello there, I do have links added to my navigation bar already. and I still don’t see that setting in the navigation block settings. I looked everywhere and still do not see it. Do I have to have both a link and the navigation bar block selected to see it? Please note, I’m using a screen reader and either it doesn’t see that setting, which is quite odd, or I’m missing it. Like, it’s nowhere to be found. I’m going to send a link to a screenshot that I took showing this. https://www.dropbox.com/s/edny720w6kvx58e/Screenshot%202022-02-03%2004.41.54.png?dl=1

    Thread Starter jonnyboy1991

    (@jonnyboy1991)

    Note: the screenshot that I took before was on my staging website and just moved everything over to production. I didn’t start this menu from scratch. I took everything from my classic menu that I created before this. Here is an updated link in case you want to see it. Still the same issue here on both counts. https://www.dropbox.com/s/gl80yp5o1ilxkw9/Screenshot%202022-02-03%2006.03.38.png?dl=1

    Hi
    I’m not an experienced screen reader user. Let’s see if we can figure this out and then report this to the team working on Gutenberg.
    I am using NVDA on Windows, with Chrome.

    I navigated to the navigation block in the header template part.
    When the navigation link I wanted to edit was announced, I pressed Enter to select it.
    To access the the block toolbar of the navigation link, I had to use Shift + Tab.
    (It announced as content region, block tools toolbar.)
    Once in the toolbar, I navigated with the right arrow key to the Link button.
    I pressed Enter.
    What was announced was the link text. I could see that a separate modal was opened and that the focus was inside this modal, on the link text.
    Next I tried the arrow down key, and the screen reader read the URL.
    Next I tried tab, and it announced an edit button.
    I pressed tab again and it announced an unlink button.

    On the third tab I encountered what was the most confusing bug for me:
    The screen reader announced “Blank” and nothing more.
    I could see that the item that was focused was a toggle to enable opening the link in a new tab.
    I pressed enter, and it only announced “checked”.

    Edit: typos.

    Thread Starter jonnyboy1991

    (@jonnyboy1991)

    Hello. I’ve read you’re message and that indeed was the issue. I did figure out a work around. When doing the steps you have outlined above and yes, this is the exact setup that I’m using over here. I pressed enter on the nav link that I wanted to work on, shift tab once over to the block toolbar, pressed right arrow until I hear “link button” then clicked on that. This was the part that was unclear. NVDA will not see the checkbox when you’re in brows mode. so you’ll have to go into focus mode with NVDA key plus space when in that modal dialog and then it should read it when you tab to it. Was honestly confusing at first as tabbing through it with brows mode didn’t see it at all but turn on focus mode and it will indeed see that checkbox of opening links up in a new tab. This might be something that we can report about. All though not a big deal now that I know what the problem is, but others may find it to be a trite bit confusing as people wouldn’t think to go to focus mode or in the case of jaws, forms mode. This indeed helped a bunch. To try this for yourself, the NVDA key my either be your caps lock key if you’re in laptop layout, or desktop, insert or numpad insert. So to switch from brows mode to focus mode, NVDA modifier plus spacebar. This acts as a toggle.

    • This reply was modified 2 years, 9 months ago by jonnyboy1991. Reason: typos

    I am glad it helped. Until the issue can be solved, perhaps it could at least be documented on the navigation block support page.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not able to have links opened up in new tabs’ is closed to new replies.