Skip to content

fix(a11y): fixed background contrast issue in Lighthouse #8185

Open
pranjalisr wants to merge 2 commits intowebpack:mainfrom
pranjalisr:fix/contrastissue
Open

fix(a11y): fixed background contrast issue in Lighthouse #8185
pranjalisr wants to merge 2 commits intowebpack:mainfrom
pranjalisr:fix/contrastissue

Conversation

@pranjalisr
Copy link
Copy Markdown
Contributor

Summary
Fixed Background and foreground colors do not have sufficient contrast ratio under Contrast issue in Lighthouse.


Screenshot 2026-04-12 at 21 06 15

What kind of change does this PR introduce?
Code change

Did you add tests for your changes?
No

Does this PR introduce a breaking change?
No

If relevant, what needs to be documented once your changes are merged or what have you already documented?
N/A

Use of AI
Copilot

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 12, 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 Apr 17, 2026 9:52am

Request Review

@pranjalisr
Copy link
Copy Markdown
Contributor Author

@evenstensberg Please review.

Copy link
Copy Markdown
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

Can you provide before and after to see different, sometimes it is hard to understand fast when we change something in design, thanks

@pranjalisr
Copy link
Copy Markdown
Contributor Author

Fixed Background and foreground colors do not have sufficient contrast ratio under Contrast issue in Lighthouse audit

Before
Screenshot 2026-04-15 at 18 19 51


After
Screenshot 2026-04-12 at 21 06 15

@alexander-akait
Copy link
Copy Markdown
Member

light gray is looking not good in design, we need to search other color, also please do not hardcode colors we have theme please use/add colors to this file

@pranjalisr
Copy link
Copy Markdown
Contributor Author

Please review. Accessibility score is now 96


Screenshot 2026-04-17 at 13 59 40

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