Skip to content

feat: wcagify contrast checker#52

Open
Bryan-OF wants to merge 11 commits into
feature/wcag-test-featuresfrom
feature/wcagify-contrast-checker
Open

feat: wcagify contrast checker#52
Bryan-OF wants to merge 11 commits into
feature/wcag-test-featuresfrom
feature/wcagify-contrast-checker

Conversation

@Bryan-OF

@Bryan-OF Bryan-OF commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

fix(contrast-checker): restore missing contrast checker

Bryan-OF added 8 commits April 7, 2026 17:42
Initial setup of the contrast checker feature for the WCAGify browser extension. Layout and functionality still need to be refined.
…connect to element picker

Replaced the first design version of the contrast checker with the second design version. Connected the contrast checker to the element picker to automatically populate background and foreground color inputs. Fixed a bug where the background element was not shown due to no value being found.
Fixed a bug where the element picker failed to correctly detect SVG and background colors.
…t errors

Fixed normalizeHex() using a stale background value when fgColor
and bgColor update in the same picker event, causing an incorrect
contrast ratio for alpha colors. Replaced the any cast for
EyeDropper with a typed constructor guard for strict TypeScript compliance.
…labels

Added error handling for clipboard write failures to prevent unhandled Promise rejections. Added programmatic labels to the color and text inputs.
@vercel

vercel Bot commented Apr 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
wcagify Ready Ready Preview, Comment May 1, 2026 2:02pm
wcagify-demo Ready Ready Preview, Comment May 1, 2026 2:02pm

Request Review

@coderabbitai

coderabbitai Bot commented Apr 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d871eedf-cc7f-4a55-b464-6b679213df84

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/wcagify-contrast-checker

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Bryan-OF Bryan-OF changed the title Feature/wcagify contrast checker feat:wcagify contrast checker Apr 10, 2026
@Bryan-OF Bryan-OF changed the title feat:wcagify contrast checker feat: wcagify contrast checker Apr 10, 2026
Added support for calculating the background color when an image is used instead of a solid color.
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.

1 participant