# Bug SPAR-206 - work packages links in relation tab should open in same browser tab

Project: Stream Planning and Reporting
Status: closed
URL: https://community.openproject.org/work_packages/SPAR-206

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.4.0 |
| Observed in versions | 15.3.0 |
| Bug found in version (deprecated) | 15.3.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Henriette Darge |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Take a work package having relations to other work packages and/or children

2.  Go to its relations tab

3.  Click on the relation link

### What is the buggy behavior?

  - The work package opens as a new tab instead of staying inside the same tab
    
      - in the new tab, it's not possible to use the browser back button

### What is the expected behavior?

1.  As we are not leaving the application, clicking the link should open the work package without opening a new tab. Using a new tab should be a user decision.

2.  In [GitHub Primer documentation about link accessibility](https://primer.style/guides/accessibility/links#for-engineers), it states "Don't force links to open in a new tab/window by setting the `target` property.".

### Screenshots and other files

Attached screen recording.

### Environment information

**OpenProject version**

*15.3*

**Browser**

- [x] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [ ] Windows
- [x] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
