Skip to content

πŸ› Bug: Table of Contents Links Open in Same TabΒ #2337

@Tushar8466

Description

@Tushar8466

Describe the bug

Clicking on links in the Table of Contents on the Specification Links page navigates the user away from the current page by opening the linked content in the same browser tab. This disrupts the reading experience, as users lose their place in the documentation.

Page URL: https://json-schema.org/specification-links

Steps To Reproduce

  1. Navigate to https://json-schema.org/specification-links
  2. Click any link in the Table of Contents (e.g., "2020-12", "Draft 7", "Obsolete Draft 2020-12 Documents", etc.)

Expected Behavior

Table of Contents anchor links should scroll to the relevant section within the same page, or external links should open in a new tab β€” preserving the user's current context.

Actual Behavior:
Links open in the same tab, navigating away from the current page.

Screenshots

Image

Device Information [optional]

- OS:MacOS
- Browser:Chrome
- version:

Are you working on this issue?

Yes

Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is the initial status for an issue that requires triage.πŸ› BugIndicates that the issue is a bug or defect.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions