Skip to content

fix: open header GitHub button in a new tab - #989

Merged
AidanDelaney merged 1 commit into
buildpacks:mainfrom
Pranav-IIITM:fix/header-github-new-tab
Oct 26, 2026
Merged

AidanDelaney merged 1 commit into
buildpacks:mainfrom
Pranav-IIITM:fix/header-github-new-tab

Conversation

@Pranav-IIITM

Copy link
Copy Markdown
Contributor

Summary

On desktop, the GitHub button in the site header now opens in a new tab. Before, it opened in the same tab and took visitors away from buildpacks.io.

Why

  • It now matches the mobile GitHub link, which already opens in a new tab.
  • It's consistent with the other external links in the header and footer (Blog, Registry, footer links), which all open in a new tab.
  • Visitors keep their place on the page they were reading.

Screen readers now announce "(opens in a new tab)" for this button, the same as for the other external links.

Closes #988

Signed-off-by: Pranav-IIITM <jogdandpranav2007@gmail.com>
@Pranav-IIITM
Pranav-IIITM requested a review from a team as a code owner October 22, 2026 19:12
@AidanDelaney

Copy link
Copy Markdown
Member

LGTM

@AidanDelaney
AidanDelaney merged commit 70223ee into buildpacks:main Oct 26, 2026
4 of 5 checks passed
github-actions Bot pushed a commit that referenced this pull request Oct 26, 2026
Signed-off-by: Pranav-IIITM <jogdandpranav2007@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Header GitHub button opens in the same tab

2 participants