Skip to content

Improve accessibility contrast and remove render-blocking theme script - #4

Merged
f1devbin merged 1 commit into
mainfrom
claude/jolly-shannon-ncgo4t
Oct 8, 2026
Merged

f1devbin merged 1 commit into
mainfrom
claude/jolly-shannon-ncgo4t

Conversation

@f1devbin

@f1devbin f1devbin commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Fixes from the PageSpeed Insights report (mobile: Performance 99, Accessibility 92, Best practices 100, SEO 100).

  • Contrast: light-theme accent/success/warning/danger/muted colors darkened to WCAG AA (≥4.5:1); dark theme uses dark text on accent and danger buttons (was 2.55:1)
  • Links: links inside text are underlined (“links rely on color” audit)
  • Render-blocking: theme.js is inlined with a CSP sha256 hash
  • Commands tab: scope/language selects no longer truncated
  • README screenshots refreshed

Not fixable on GitHub Pages: cache TTL is fixed at 10 minutes by the host. aggregateRating in structured data is optional and is intentionally not added (no real ratings exist).

npm test (31) and the e2e smoke test pass (the e2e fails on any CSP violation, so the inline-script hash is verified).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ti9i15KJoZzEDMWsyiELNj


Generated by Claude Code

- Darken light-theme accent, success, warning, danger and muted colors to
  reach WCAG AA contrast; dark theme uses dark text on accent buttons
- Underline links inside text so they don't rely on color alone
- Inline theme.js with a CSP sha256 hash to save a blocking request
- Scope/language selects in the commands tab use full width
- Refresh README screenshots

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ti9i15KJoZzEDMWsyiELNj
@f1devbin
f1devbin merged commit 11d71d1 into main Oct 8, 2026
1 check passed
@f1devbin
f1devbin deleted the claude/jolly-shannon-ncgo4t branch October 8, 2026 13:08
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