question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Links in Demo Kit don't handle opening in new tabs

See original GitHub issue

URL (minimal example if possible):

E.g. https://openui5nightly.hana.ondemand.com/api/sap.ui.core.Control

Steps to reproduce the problem:

In the sample page above, click on one of the texts, which looks like a link, with <kbd>Ctrl</kbd> / <kbd>⌘</kbd> pressed.

What happens?

The clicked link, with the explicit command to open it in a new tap, opens in the same page breaking the common web experience.

Any other information? (attach screenshot if possible)

Sometimes, users would like to open links in new tabs in order to stay focused. Other use cases are mentioned in WCAG 2.1 Opening new windows and tabs from a link.

The control sap.m.Link also provides extra information in press event whether the <kbd>Ctrl</kbd> key was pressed or not. https://github.com/SAP/openui5/blob/81879d28babadb91663a39321ae975b0ba45de4d/src/sap.m/src/sap/m/Link.js#L194

It would be nice if Demo Kit could also respect users’ choice to open links in new tabs. Currently, links can be opened in new tabs only via the right click menu.


As I don’t own any mouse, would be nice if someone could confirm whether the links can be opened in new tabs with a middle mouse click or not.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
IlianaBcommented, Feb 5, 2020

Hello,

I am reopening this issue as we have decided to fix it separately from the other one. We will update it soon with a new ticket ID or BLI.

Regards, Iliana

1reaction
codeworriorcommented, Jan 22, 2020

@boghyon colleagues will handle both problems together in the first ticket (2080007465)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Opening Links in New Browser Windows and Tabs
Since 1999, it's been a firm web-usability guideline to refrain from opening new browser windows for several reasons.
Read more >
Why External Links Should Open in New Tabs - UX Movement
Internal links should never open in new browser tabs, but rather the same tab the user is on. Opening new tabs of the...
Read more >
Not able to have links opened up in new tabs - WordPress.org
Things do work, got a navigation bar of somewhat how I want things to go but I want some external links to open...
Read more >
Prevent HTML links from opening a new tab
Solved: I am using a simple anchor link and mailto link, in an HTML Text control: "Primary Contact: " & PrimaryContact.first_name & "...
Read more >
Can I make my links open in a new tab? - Kajabi Help Center
Yes! Edit your links to open in a new tab or window in your visitors' web browsers. Learn to add your links to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found