Skip to content

Conversation

@odanree
Copy link
Owner

@odanree odanree commented Nov 7, 2025

Problem

PR #39 fixed the CSS colors for WCAG AAA compliance (#007bff -> #0056b3), but the JavaScript file uses inline styles that override the CSS.

Solution

Updated all inline style declarations in chat-widget.js:

  • Header background: #007bff -> #0056b3
  • Send button background: #007bff -> #0056b3
  • User message bubbles: #007bff -> #0056b3

Testing

Contrast ratio: 3.14:1 -> 5.89:1 (WCAG AAA pass)
All inline styles now match CSS

Related

Completes fix from PR #39

The previous fix (#39) only updated chat-widget.css, but the JavaScript
file (chat-widget.js) was using inline styles that override the CSS.
This fix updates all inline style declarations to use #0056b3 instead
of #007bff for WCAG AAA compliance.

Changes:
- Header background: #007bff -> #0056b3
- Send button background: #007bff -> #0056b3
- User message bubbles: #007bff -> #0056b3

Contrast ratio: 3.14:1 -> 5.89:1 (WCAG AAA pass)

Related: #39
@vercel
Copy link

vercel bot commented Nov 7, 2025

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

Project Deployment Preview Comments Updated (UTC)
ai-chatbot Building Building Preview Nov 7, 2025 10:22am

@odanree odanree closed this Nov 7, 2025
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