Skip to content

Improve chat text contrast and readability in dark mode #1430

Closed as not planned

Description

@samanthamsong

Problem

Several text elements in Windows Companion chat have insufficient contrast in dark mode and are difficult or impossible to read. This may be an accessibility issue for users with low vision or reduced contrast sensitivity.

In the attached example, the following elements appear especially faint:

  • The Assistant is thinking... status
  • Message timestamp and model metadata
  • Model, agent, and mode selector text
  • Secondary text and controls near the message composer

Some controls look disabled even when they are available because their foreground color is too close to the dark background.

Screenshot

Windows Companion chat showing low-contrast text in dark mode

Expected behavior

  • All essential text and interactive controls remain clearly readable in dark mode.
  • Text and UI components meet applicable WCAG 2.2 contrast requirements, including at least 4.5:1 for normal text and 3:1 for large text and meaningful UI components.
  • Enabled and disabled states are visually distinguishable without making enabled controls appear unavailable.
  • Contrast remains sufficient across hover, focus, selected, loading, and disabled states.

Acceptance criteria

  • Audit dark-mode foreground and background color combinations in the native chat surface.
  • Correct the contrast of status text, metadata, selectors, composer text, and interactive icons.
  • Add or update automated accessibility and theme tests for affected components.
  • Verify keyboard focus indicators and screen-reader labels remain available after the visual changes.

Activity

  1. added
    P2
    impact:ux-friction
    issue-rating: 🦪 silver shellfish
    on Sep 15, 2026
  2. clawsweeper commented on Sep 15, 2026

    @clawsweeper

    Codex review: this still needs some work. Reviewed October 4, 2026, 4:16 AM ET / 08:16 UTC.

    Summary
    The screenshot supports a real readability concern. Main has newer chat styling, but the available evidence does not establish a complete contrast fix; this collaborator-authored issue requires maintainer handling.

    Reproducibility: unclear. the screenshot demonstrates the reported appearance, but its build and Windows theme combination are unspecified, and current-main resolved colors were not measured.

    Next step
    Honor the collaborator-authored report and no-new-fix-PR signal; confirm current dark-mode status and metadata contrast before assigning a bounded repair.

    Review details

    Best possible solution:

    Keep native theme ownership and correct any confirmed contrast failures, with rendered-color regression coverage and visible dark-mode proof that preserves focus, labels, and intentional disabled states.

    Do we have a high-confidence way to reproduce the issue?

    Unclear: the screenshot demonstrates the reported appearance, but its build and Windows theme combination are unspecified, and current-main resolved colors were not measured.

    Is this the best way to solve the issue?

    Yes: auditing resolved native colors and repairing confirmed failures is the narrowest approach; replacing theme ownership or enabling intentionally disabled selectors would not address the established concern.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • The affected current-build Windows theme combination and resolved foreground/background contrast remain unverified.

    Codex review notes: model internal, reasoning medium; reviewed against 7127c16d537c.

    Label changes

    Label changes:

    • remove clawsweeper:no-new-fix-pr: Current issue advisory state no longer selects this label.
    • remove clawsweeper:needs-maintainer-review: Current issue advisory state no longer selects this label.

    Label justifications:

    • P2: The screenshot supports a bounded chat accessibility problem without evidence of a blocked setup or unusable core workflow.
    • impact:ux-friction: Faint chat status and metadata hinder reading and can make control availability confusing.
    Evidence reviewed

    What I checked:

    • Direct screenshot inspection: The supplied screenshot visibly shows nearly black thinking-status and timestamp/model text against dark surfaces. Selector text is also faint, but the screenshot shows an active turn, so their enabled state cannot be inferred from appearance alone. Inspected the prepared local proof-image-1.png.
    • Current theme boundary: Main maps primary and secondary chat text to native theme colors. Thinking status uses TextFillColorSecondaryBrush; these bindings alone do not prove resolved contrast against the actual window background. (src/OpenClaw.Tray.WinUI/Chat/ReactorChatTimeline.cs:374, 7127c16d537c)
    • Intentional selector availability: Session-option changes require a connected state with message options enabled. OpenClawReactorChatRoot disables message options during an active turn or pending queued send, so faint selectors in this active-turn screenshot are not independently proof of incorrectly styled enabled controls. (src/OpenClaw.Tray.WinUI/Chat/ChatComposerInputs.cs:37, 7127c16d537c)
    • Existing contrast coverage is focused: A native UI test checks 4.5:1 contrast for the reasoning popup's current value. It does not establish the reported thinking-status, metadata, composer, and control-state matrix. (tests/OpenClaw.Tray.UITests/ReactorChatLayoutProofTests.cs:731, 7127c16d537c)
    • Merged visual refresh: GitHub verifies improve(chat): modernize the native chat experience #1459 (improve(chat): modernize the native chat experience) merged on September 22. Its body records Light/Dark native fixture validation and revised presentation, but does not certify all contrast combinations requested here. Local history ties the current resource file to its merge commit. (src/OpenClaw.Tray.WinUI/Themes/ChatResources.xaml:12, 5164faab1df6)
    • Release distinction: The supplied latest stable release is v2026.9.4. The newer visual-refresh commit appears in v2026.9.5-alpha tags, including alpha.13; package and prerelease tags do not establish that the reported contrast problem is fixed in the latest stable release. (5164faab1df6)

    Likely related people:

    • bkudiess: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    • karkarl: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  3. added
    clawsweeper:needs-info
    clawsweeper:needs-maintainer-review
    clawsweeper:no-new-fix-pr
    issue-rating: 🦐 gold shrimp
    and removed
    issue-rating: 🦪 silver shellfish
    on Sep 15, 2026
  4. github-actions commented on Sep 30, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  5. removed
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    on Oct 4, 2026
  6. github-actions commented on Oct 20, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  7. github-actions commented on Oct 27, 2026

    @github-actions
    Contributor

    Closing due to inactivity.
    If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.

  8. locked as resolved and limited conversation to collaborators on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2clawsweeper:needs-infoimpact:ux-frictionissue-rating: 🦐 gold shrimpstale

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions