Links in Demo Kit don't handle opening in new tabs
See original GitHub issueURL (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:
- Created 4 years ago
- Comments:7 (7 by maintainers)
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
@boghyon colleagues will handle both problems together in the first ticket (2080007465)