hotfix: fix category badge contrast in BlogPostCard component#50
hotfix: fix category badge contrast in BlogPostCard component#50
Conversation
The homepage uses BlogPostCard.astro (not blog index pages) to render post cards. Fix badge text color and add aria-label to read-more links in this component as well.
Deploying baezor with
|
| Latest commit: |
dcddc32
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d701f994.baezor.pages.dev |
| Branch Preview URL: | https://hotfix-fix-blogpostcard-badg.baezor.pages.dev |
Code ReviewSummaryThis hotfix correctly addresses the missed contrast fix in Issues1. Incomplete aria-label fix — other listing pages are missing itThe
2. Verify category badge contrast in remaining pagesThe badge contrast fix has now been applied to
Please verify these files also use 3. Branching strategy mismatchPer CLAUDE.md, Since this is a missed fix from PR #49 (not an urgent production-only issue), using Positive
Verdict: Request changes — The contrast fix is correct and the PR is on the right track, but the |
Summary
The previous contrast fix (#49) updated
.category-badgein the blog index pages but missedBlogPostCard.astro, which is the component used on the homepage. Lighthouse was still flagging the homepage badges at 3.85:1 contrast.var(--color-accent)tovar(--color-text)inBlogPostCard.astroaria-labelto read-more links in the same componentTest plan
npm run buildpasses