Skip to content

fix: Improve footer legal links with lighter blue styling and subtle hover effect#8145

Open
Deven14125 wants to merge 1 commit intowebpack:mainfrom
Deven14125:fix-add-hover-effect-footer
Open

fix: Improve footer legal links with lighter blue styling and subtle hover effect#8145
Deven14125 wants to merge 1 commit intowebpack:mainfrom
Deven14125:fix-add-hover-effect-footer

Conversation

@Deven14125
Copy link
Copy Markdown
Contributor

Summary

Improves the footer legal links by using a lighter blue default color and adding a subtle hover effect for better readability and visual polish.

What kind of change does this PR introduce?

style

Did you add tests for your changes?

No (UI/styling change only)

Screenshots

Before

image

After

image

Does this PR introduce a breaking change?

No

Use of AI

No

Adjust footer anchor styling in src/components/Footer/Footer.jsx: change base link color to #63a7de, add transition on links, and set hover color to #89c2eb with underline to improve visual feedback.
Copilot AI review requested due to automatic review settings March 30, 2026 18:24
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-js-org Ready Ready Preview, Comment Mar 30, 2026 6:26pm

Request Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the styling of footer legal links to improve readability by adjusting default/hover link colors and adding a subtle hover treatment.

Changes:

  • Updated footer link color to a lighter blue.
  • Added color transition and hover styles (lighter color + underline) for links in the top footer container.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

const Footer = () => (
<footer className="w-full flex-[0_0_auto] print:hidden">
<Container className="mx-auto max-w-[900px] px-5 pb-[30px] pt-[40px] text-center [&_a]:text-[#3b7eb5]">
<Container className="mx-auto max-w-[900px] px-5 pb-[30px] pt-[40px] text-center [&_a]:text-[#63a7de] [&_a]:transition-colors [&_a:hover]:text-[#89c2eb] [&_a:hover]:underline">
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new default link color (#63a7de) (and the hover color #89c2eb) on the footer’s white background appears to fall below WCAG AA contrast for normal-sized text (Site uses bg-white). This is an accessibility regression for the legal/copyright links. Consider using a darker blue (or a theme token) that meets contrast requirements, and avoid making the hover state even lower-contrast than the default.

Suggested change
<Container className="mx-auto max-w-[900px] px-5 pb-[30px] pt-[40px] text-center [&_a]:text-[#63a7de] [&_a]:transition-colors [&_a:hover]:text-[#89c2eb] [&_a:hover]:underline">
<Container className="mx-auto max-w-[900px] px-5 pb-[30px] pt-[40px] text-center [&_a]:text-[#2563eb] [&_a]:transition-colors [&_a:hover]:text-[#1d4ed8] [&_a:hover]:underline">

Copilot uses AI. Check for mistakes.
Comment on lines +13 to 15
<Container className="mx-auto max-w-[900px] px-5 pb-[30px] pt-[40px] text-center [&_a]:text-[#63a7de] [&_a]:transition-colors [&_a:hover]:text-[#89c2eb] [&_a:hover]:underline">
<div className="mb-[24px] flex justify-center">
<a href="https://openjsf.org" target="_blank" rel="noopener noreferrer">
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[&_a:hover]:underline applies to all anchors in this container, including the OpenJS logo link (the <a> wrapping the image). That will likely add an underline on hover under the logo image as well. If the intent is to underline only text links, scope the selector to the legal-links section (e.g., a wrapper around the paragraphs) or explicitly opt the logo link out of underlining.

Copilot uses AI. Check for mistakes.
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.

2 participants