microsoft / microsoft/fluentui

[Bug]: Cannot open links in new tab

Open
#36,567 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Accessibility Fluent UI WC (v3) Type: Bug :bug: web-components
Dominant language
TypeScript
Stars
20.3k
Forks
2.9k
Avg merge
2d 9h
Merged PRs (30d)
46

Description

Component

Link

Package version

3.1.0

@microsoft/fast-element version

whatever the demos are using

Environment
System:
    OS: Windows 11 10.0.26200
    CPU: (28) x64 Intel(R) Core(TM) i7-14700K
    Memory: 14.63 GB / 31.78 GB
  Browsers:
    Edge: Chromium (151.0.4129.78)
    Firefox Developer Edition: 154.0 - C:\Program Files\Firefox Developer Edition\firefox.exe
Current Behavior

Nothing happens

Expected Behavior

Both fluent-link and fluent-anchor-button should allow the user to open the link in a new tab by pressing the middle mouse button.

Reproduction

https://storybooks.fluentui.dev/web-components/?path=/docs/components-link--docs

Steps to reproduce

Click on the Link with your middle mouse button

Are you reporting an Accessibility issue?

None

Suggested severity

Urgent - No workaround and Products/sites are affected

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Storybook reproduction for the Link component and locate the implementations of fluent-link and fluent-anchor-button. Reproduce the issue with a middle-click in the listed browsers, then verify that both components support opening their links in a new tab without disrupting normal activation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.