fix(accessibility): Fix cta-post contrast and heading hierarchy

Phase 4.4 Accessibility fixes:
- cta-post: button_text_color from #ffffff to #0E2337 (WCAG AA 4.8:1)
- TableOfContentsRenderer: h4 toc-title changed to span (semantic)
- FooterRenderer: h5 widget-title changed to span (5 instances)

Fixes: "Low contrast on cta-button" and "Headings skip levels"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
FrankZamora
2025-11-27 16:59:06 -06:00
parent 281c05fa33
commit 1c901ecdf9
3 changed files with 8 additions and 8 deletions

View File

@@ -384,7 +384,7 @@ final class TableOfContentsRenderer implements RendererInterface
$html = '<div class="toc-container">';
$html .= sprintf(
'<h4 class="toc-title">%s</h4>',
'<span class="toc-title d-block h4">%s</span>',
esc_html($title)
);