Skip to content

Conversation

@Sam-61s
Copy link
Contributor

@Sam-61s Sam-61s commented Jan 7, 2026

What kind of change does this PR introduce?

This PR improves user experience and security by ensuring that all external links in the footer open in a new browser tab instead of replacing the current page.

Opening external links in the same tab can unintentionally navigate users away from the site. This PR updates all footer external links to open in new tabs and adds appropriate security attributes to prevent potential security issues.

Issue Number:

Screenshots/videos:

Screen.Recording.2026-01-06.170325.mp4

If relevant, did you update the documentation?

N/A

Summary

This PR fixes a bug where external links in the footer (Open Collective, Slack, X, LinkedIn, YouTube, and GitHub) were opening in the same tab, causing users to navigate away from the JSON Schema website.

Changes:

  • Added target="_blank" to all footer external links
  • Added rel="noopener noreferrer" for improved security when opening links in new tabs

Does this PR introduce a breaking change?

No

Checklist

@Sam-61s Sam-61s requested a review from a team as a code owner January 7, 2026 10:59
@github-project-automation github-project-automation bot moved this to Ready to review in PR - Triage Group Jan 7, 2026
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Hi @Sam-61s! Thanks a lot for your contribution!

I noticed that the following required information is missing or incomplete: kind of change description

Please update the PR description to include this information. You can find placeholders in the PR template for these items.

Thanks a lot!

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview 28ead5d

@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4765f6d) to head (28ead5d).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2070   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines          633       633           
  Branches       196       196           
=========================================
  Hits           633       633           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready to review

Development

Successfully merging this pull request may close these issues.

🐛 Bug: Footer External Links Should Open in New Tabs

1 participant