moonming opened a new pull request, #2063:
URL: https://github.com/apache/apisix-website/pull/2063
## Summary
Homepage accessibility polish — the P2 items from the homepage-rewrite audit
(now that `fix/homepage-layout` has landed):
- **WCAG AA contrast** — darken low-contrast text:
- secondary greys `#777` / `#8a8a8a` / `#888` → `#6b6b6b` (~5.3:1)
- CTA red text `#e8433e` → `#c7352f` (the **existing hover shade** in the
palette, ~5.3:1) on the Pathways / Integrations / AI-gateway CTAs and the
comparison APISIX column
- left the large bold hero stat value (passes AA-large at 3:1) and the
decorative `aria-hidden` flow arrow unchanged
- **Heading hierarchy** — Pathways card titles `h3` → `h2`, fixing the
homepage `h1`→`h3` skip. Styling is class-driven (`.pathways__title`), so there
is **no visual change**.
8 lines changed; no layout or structural changes.
> The CTA change keeps the brand red, just an AA-compliant darker shade for
normal-size text (`#c7352f` is already the hover color). If you'd rather keep
the brighter `#e8433e` on CTAs, that half is trivial to revert.
## Out of scope
- The 2 dimensionless `<img>` the CWV check flagged are on `/showcase/` and
`/plugins/`, not the homepage (the homepage Integrations logos already have
explicit `width`/`height`).
- Real CWV numbers still need a PSI API key or a Lighthouse run.
## Test plan
- [x] Diff verified: exactly the 8 intended color/heading changes, no
collateral
- [x] New colors are objectively WCAG AA (`#6b6b6b` 5.3:1, `#c7352f`
~5.3:1); class-driven `h2` = no visual regression
- [ ] CI deploy build green
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]