Skip to content

fix(ui): muted theme text below WCAG AA contrast in webchat - #114586

Merged
steipete merged 8 commits into
openclaw:mainfrom
synthalorian:fix/107299-muted-contrast
Jul 29, 2026
Merged

steipete merged 8 commits into
openclaw:mainfrom
synthalorian:fix/107299-muted-contrast

Conversation

@synthalorian

@synthalorian synthalorian commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Closes #107299

What Problem This Solves

Fixes an issue where users reading secondary/muted text in the webchat Control UI would see contrast as low as 3.1–3.5:1 on several bundled themes, below the WCAG AA floor of 4.5:1 for normal-size text — timestamps, captions, and helper text were hard to read, especially on the affected dark and sepia palettes.

Why This Change Was Made

Nudges the offending --muted / --muted-strong / --muted-foreground hex tokens in the three affected theme blocks just far enough to clear 4.5:1 against every surface token the theme defines, without altering the palettes' character. Also adds a vitest guardrail that mechanically parses base.css and asserts every text-on-surface pairing in every theme block meets AA, so future palette edits can't silently regress readability (the original regression shipped unnoticed). Non-hex values (rgba tints, color-mix) are skipped by the guardrail since their contrast depends on a compositing surface; those remain audited in the base.css comments.

User Impact

Muted/secondary text in the Control UI is now readable (≥ 4.5:1) across all bundled themes, and CI will fail any future theme edit that drops a text token below AA.

Evidence

New guardrail test passes on this branch and fails when the old token values are restored:

$ node scripts/run-vitest.mjs ui/src/styles/base-theme-contrast.node.test.ts
 ✓  ui  ui/src/styles/base-theme-contrast.node.test.ts (1 test) 10ms
 Test Files  1 passed (1)
      Tests  1 passed (1)

The test enumerates every (:root / :root[data-theme(-mode)]) block in base.css, computes WCAG 2.1 relative-luminance ratios for all --text/--text-strong/--chat-text/--muted/--muted-strong/--muted-foreground × --bg/--bg-elevated/--bg-muted/--card/--panel pairings, and reports any pairing under 4.5:1 with theme, tokens, and measured ratio.

Maintainer-verified real-browser evidence (2026-07-29)

The default-dark part of #107299 was independently fixed by #110195. This PR is not a duplicate: current main still fails WCAG 2.1 AA for openknot-light, dash, and dash-light; the contributor’s seven existing CSS-token changes fix those three remaining themes.

Real Chromium on a Blacksmith Testbox exercised the actual Control UI Appearance route, clicked each genuine theme card, verified the outbound config.patch, awaited the distinct acknowledged Gateway config revision, and rechecked both the visible active card and the real root theme after acknowledgement. It measured every 6×5 foreground/surface pair using browser-resolved CSS, and separately measured the actual visible muted description with browser-computed foreground, the entire ancestor background stack, and compounded opacity.

Theme Current-main worst token contrast Fixed worst browser token contrast Actual rendered muted helper contrast
dark 4.506:1 4.506:1 5.635:1
light 4.588:1 4.588:1 4.838:1
openknot 4.943:1 4.943:1 5.859:1
openknot-light 4.471:1 (fails) 4.660:1 5.001:1
dash 3.420:1 (fails) 4.634:1 5.937:1
dash-light 4.430:1 (fails) 4.635:1 5.113:1

Result: 7/7 real Chromium scenarios pass: all six theme selections, all 180 token/surface combinations, all six real rendered muted descriptions above 4.5:1, and the real Skill Workshop Today route at a 390 px mobile viewport. A real full-page Chromium screenshot and machine-readable computed-contrast JSON were captured and downloaded for every theme. No DOM palette override or injected production stylesheet was used.

Additional focused proof on the same remote checkout: the original contrast regression, the adjacent theme-token contract, and the actual theme-resolution owner all pass (3 test files, 6 tests); touched CSS and TypeScript pass oxfmt --check. Fresh extra-high-effort review verified the original contributor patch and the real-browser evidence; an initial concern about measuring opacity was fixed by asserting the actual alpha-composited rendered text.

Inherited current-main CI repair

The exact-head hosted checks-ui run exposed a separate regression introduced on current main by #115606: the real Skill Workshop Today-mode browser test measures a 390 px mobile container at 438 px. The canonical .sw-today rule sets width: 100% plus 24 px padding on each side, but omitted box-sizing: border-box. The narrowly scoped inherited-main repair adds that single declaration in ui/src/styles/skill-workshop.css; it keeps the content-box including its existing padding within 390 px and preserves every theme change. Credit: independently diagnosed and end-to-end verified by the Skill Workshop maintainer lane in #112987. This repair is included so the contributor PR does not merge onto known-red current main.

Measured final mobile proof: real Gateway-loaded nonempty proposal, actual Today tab click, viewport/body 390 px, Today parent/element 382 px, computed box-sizing: border-box, and both scrollWidth and clientWidth 382 px. Captured full-page Chromium screenshots and machine-readable evidence for all 7 scenarios. Final focused verification: 7/7 Chromium tests, 20/20 owner-source tests, four-file formatting, and clean gpt-5.6-sol extra-high-effort whole-PR review.

Inherited full-shard history-race repair

Exact-head hosted Chromium shard 2/4 independently exposed an existing main race in ui/src/e2e/claude-sessions.e2e.test.ts, unchanged by the original contributor: both history-prepend scenarios captured a virtualized message anchor before awaiting the Gateway request and loading spinner. The failing browser trace proves the anchor was already absent in the probe’s before sample (viewportTop: null), so every later viewport sample referred to a stale row rather than the actual prepend.

The minimal test-only fix moves each of the two existing anchor captures immediately after its loading/request waits and immediately before its existing prepend probe. It preserves every original assertion, wait, Gateway contract, helper, and production behavior; 2 lines relocated, zero runtime changes. This same-file sibling repair prevents landing onto the independently proven inherited red full-shard gate.

Final exact-workflow remote proof on Blacksmith Testbox tbx_01kypna6hp9gactxtcbt92k2yc:

  • Hosted-equivalent node scripts/ensure-playwright-chromium.mjs and node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner --shard 2/4: 27/27 real Chromium test files, 80/80 tests, including both history-prepend scenarios and all browser-video flows.
  • Actual Appearance/Gateway/contrast and 390 px Today mobile proof: 7/7 real Chromium scenarios, including 180 foreground/surface pairs, real alpha-composited muted descriptions, six full-page theme screenshots, and the mobile-width screenshot.
  • Four adjacent owner-source suites: 20/20 tests.
  • Formatting: all five changed files pass oxfmt --check.
  • The two-line inherited test correction also passed an independent gpt-5.6-sol extra-high-effort structured review with no accepted or actionable findings.

Final current-main full-shard proof

The contributor’s branch was refreshed onto current main through GitHub’s expected-head-guarded update while preserving @synthalorian, the original branch, both merge parents, and exactly five changed files. This picks up the already-landed canonical Appearance settings route instead of copying unrelated sidebar or settings work into this PR.

Fresh Blacksmith Testbox tbx_01kypqnyajry4785qkk0x0bmwb ran the final current-main product tree and the one-line, typed-safe rendered-color diagnostic correction as one sequential, fail-fast command:

  • Hosted-equivalent Chromium shard 1/4: 28 files, 105/105 tests pass; includes every sidebar customization route and all six Appearance themes plus the actual 390 px mobile Today route.
  • Hosted-equivalent Chromium shard 2/4: 28 files, 85/85 tests pass; includes both deferred Claude history-prepend scenarios and real browser video flows.
  • Standalone screenshot-backed theme/mobile suite: 7/7 pass.
  • Full hosted lint command pnpm lint --threads=8: pass, including full core, plugin, and script oxlint, Control UI i18n and style contracts.
  • Four owner-source test files: 20/20 pass.
  • oxfmt --check on all five changed files and git diff --check: pass.
  • Full five-file, current-main gpt-5.6-sol --thinking xhigh structured autoreview: clean (0.94).
  • Blacksmith authoritative final timing JSON: exitCode=0; owned Testbox was stopped.

The contrast test’s sole lint correction explicitly serializes the already-resolved color for its error message; it changes no production code, runtime behavior, assertions, helper contracts, or PR file scope.

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. labels Jul 27, 2026
@clawsweeper

clawsweeper Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 28, 2026, 11:40 AM ET / 15:40 UTC.

ClawSweeper review

What this changes

Raises muted-text color tokens in three Control UI themes and adds a Vitest contrast guardrail for text and surface CSS tokens.

Merge readiness

⛔ Blocked until real behavior proof from a real setup is added - 3 items remain

This PR addresses a concrete accessibility regression with a narrowly scoped token update and a useful guardrail, but it still needs redacted after-fix evidence from the actual Control UI before merge. The available proof is focused test output rather than a real theme-picker run, so the item remains necessary until that visible user result is shown.

Priority: P2
Reviewed head: 629a954a3874c2c5bea2151bdd346cd5a8f4bfa8

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The patch is focused and CI-supported, but the required after-fix user-visible proof is still absent from the supplied PR evidence.
Proof confidence 🦪 silver shellfish (2/6) Needs real behavior proof before merge: The PR body shows a focused Vitest result, but no redacted after-fix run of the actual Control UI theme picker; add screenshots, a short recording, terminal/live output, or redacted logs that directly demonstrate the changed UI behavior. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The PR body shows a focused Vitest result, but no redacted after-fix run of the actual Control UI theme picker; add screenshots, a short recording, terminal/live output, or redacted logs that directly demonstrate the changed UI behavior. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 4 items Concrete regression target: The linked report identifies muted text in the webchat dark theme as below the normal-text WCAG AA threshold and gives CSS-token-based reproduction details; this PR is explicitly linked as its proposed fix.
Focused implementation: The proposed branch changes only muted text tokens in three theme blocks and adds a dedicated contrast test, keeping the repair bounded to the affected Control UI styling surface.
Prior review continuity: The preceding ClawSweeper cycle found no code defect but required actual after-fix UI evidence; the supplied current PR body still contains only focused Vitest output, so that merge gate remains unresolved.
Findings None None.
Security None None.

How this fits together

The Control UI loads selectable theme CSS variables and uses them to render webchat text, cards, panels, and backgrounds. This PR changes secondary-text tokens and adds a source-level test intended to prevent future contrast regressions before the UI is shipped.

flowchart LR
  A[Theme selector] --> B[Theme CSS variable blocks]
  B --> C[Text and surface tokens]
  C --> D[Webchat rendering]
  B --> E[Contrast guardrail test]
  E --> F[CI validation]
  D --> G[Readable secondary text]
Loading

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The PR body shows a focused Vitest result, but no redacted after-fix run of the actual Control UI theme picker; add screenshots, a short recording, terminal/live output, or redacted logs that directly demonstrate the changed UI behavior. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve merge risk (P1) - The branch has not yet supplied redacted evidence that the changed muted text is visibly readable in the running Control UI across the affected theme selections; source-level contrast calculations alone do not prove the browser-rendered user path.
  • Complete next step (P2) - The only remaining merge gate is contributor-provided real behavior proof from the running Control UI; this is not a code defect for an automated repair lane.
Agent review details

Security

None.

PR surface

Source 0, Tests +122. Total +122 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 1 7 7 0
Tests 1 122 0 +122
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 129 7 +122

Review metrics

None.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #107299
Summary: This PR is a candidate implementation for the linked WCAG contrast regression; the canonical issue remains open until a fix lands.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Mantis proof suggestion

A redacted web UI chat proof would directly demonstrate the visible muted-text result that source-level contrast tests cannot establish. A maintainer can ask Mantis to capture proof by posting this exact PR comment:

@openclaw-mantis web UI chat proof: capture the affected theme selections and verify that muted timestamps, labels, or helper text are visibly readable after this change.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Add a short redacted before/after screenshot set or recording from the running webchat theme picker covering the affected dark and sepia palettes, then merge if the visible result matches the token guardrail.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Add a short redacted before/after screenshot set or recording from the running webchat theme picker covering the affected dark and sepia palettes, then merge if the visible result matches the token guardrail.

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

Yes from source: the linked report supplies the affected theme tokens and WCAG contrast calculations, and the proposed guardrail exercises the same CSS-token mechanism. A running-browser reproduction was not established in the available review evidence.

Is this the best way to solve the issue?

Unclear: raising the affected tokens plus a regression guardrail is a maintainable repair shape, but the branch still needs real Control UI proof that the selected themes render the intended readable result.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against cbe19ed3be23.

Labels

Label justifications:

  • P2: This is a bounded Control UI accessibility/readability repair with clear user impact but no evidence of an availability, data-loss, or security emergency.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body shows a focused Vitest result, but no redacted after-fix run of the actual Control UI theme picker; add screenshots, a short recording, terminal/live output, or redacted logs that directly demonstrate the changed UI behavior. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

  • Concrete regression target: The linked report identifies muted text in the webchat dark theme as below the normal-text WCAG AA threshold and gives CSS-token-based reproduction details; this PR is explicitly linked as its proposed fix. (ui/src/styles/base.css:430, 629a954a3874)
  • Focused implementation: The proposed branch changes only muted text tokens in three theme blocks and adds a dedicated contrast test, keeping the repair bounded to the affected Control UI styling surface. (ui/src/styles/base.css:430, 629a954a3874)
  • Prior review continuity: The preceding ClawSweeper cycle found no code defect but required actual after-fix UI evidence; the supplied current PR body still contains only focused Vitest output, so that merge gate remains unresolved. (ui/src/styles/base-theme-contrast.node.test.ts:1, 629a954a3874)
  • CI signal: The supplied check state reports the UI check and broad repository checks as successful, while two non-proof lanes remain in progress; CI is supplemental and does not replace visible after-fix behavior proof. (ui/src/styles/base-theme-contrast.node.test.ts:1, 629a954a3874)

Likely related people:

  • steipete: The affected surface is the repository Control UI theme stylesheet; no repository-history command could be completed in this read-only environment to establish a more specific author trail. (role: likely adjacent Control UI owner; confidence: low; files: ui/src/styles/base.css, ui/src/styles/base-theme-contrast.node.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add redacted screenshots or a short recording from the running webchat theme picker showing readable muted text in the affected palettes.
  • Update the PR body with that evidence; if automation does not refresh the review, ask a maintainer to comment @clawsweeper re-review.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • 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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-07-27T13:15:25.464Z sha e0909a7b538ed48c688352e8dbb3dda4f03ee796 :: needs real behavior proof before merge. :: none

@synthalorian
synthalorian force-pushed the fix/107299-muted-contrast branch from e0909a7 to 629a954 Compare July 28, 2026 15:22
Secondary text using --muted/--muted-foreground measured 3.1-3.5:1 on
several bundled themes (issue openclaw#107299), below the 4.5:1 AA floor for
normal text. Nudges the offending hex tokens and adds a vitest guardrail
that parses base.css and asserts every text-on-surface token pairing in
every theme block stays >= 4.5:1 so future palette edits can't regress
this silently.

Closes openclaw#107299
- Number.parseInt over global parseInt, ** over Math.pow, toSorted over sort
- Guard regex capture groups and indexed access under noUncheckedIndexedAccess
@synthalorian
synthalorian force-pushed the fix/107299-muted-contrast branch from 629a954 to 5a7f58b Compare July 28, 2026 18:58
@steipete
steipete merged commit c0070d7 into openclaw:main Jul 29, 2026
97 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

vincentkoc added a commit that referenced this pull request Jul 29, 2026
* origin/main: (128 commits)
  fix(codex): keep stressed inference turns isolated and observable (#115893)
  feat(skills): review interrupted deep turns in experience review (#115887)
  fix: reject malformed UTF-8 in proxy gateway error response bodies (#111852)
  fix(browser): stabilize atomic download staging (#115892)
  fix(google): cancel unread response body on video download error (#110045)
  refactor(ui): give Memory the shared hub header with hoisted agent scope (#115884)
  fix(test): stop asserting exact video deadline budgets (#115883)
  feat(gateway): expose MCP tool identity in effective tools (#115870)
  fix(skills): verify workshop migration without recovery
  refactor: replace context-engine retry proxy with declared params (#115872)
  fix: reject malformed UTF-8 in hosted official plugin catalog feed responses (#111768)
  fix(codex): harden app inventory invalidation and targeted publishes (#115866)
  fix(browser): uploads fail when the browser runs on a remote node (#115291)
  fix(scripts): keep format-docs output tails UTF-8 safe (#110825)
  fix(skills): recover complete apply transitions
  fix(macos): reap timed-out shell process groups (#115859)
  refactor(ollama): unify model inspection and setup (#115879)
  fix(ui): muted theme text below WCAG AA contrast in webchat (#114586)
  fix(test): restore isolated memory manager tests (#115880)
  fix(skills): revalidate rollback targets
  ...
vincentkoc added a commit that referenced this pull request Jul 29, 2026
…discovery

* origin/main: (72 commits)
  fix(codex): keep stressed inference turns isolated and observable (#115893)
  feat(skills): review interrupted deep turns in experience review (#115887)
  fix: reject malformed UTF-8 in proxy gateway error response bodies (#111852)
  fix(browser): stabilize atomic download staging (#115892)
  fix(google): cancel unread response body on video download error (#110045)
  refactor(ui): give Memory the shared hub header with hoisted agent scope (#115884)
  fix(test): stop asserting exact video deadline budgets (#115883)
  feat(gateway): expose MCP tool identity in effective tools (#115870)
  fix(skills): verify workshop migration without recovery
  refactor: replace context-engine retry proxy with declared params (#115872)
  fix: reject malformed UTF-8 in hosted official plugin catalog feed responses (#111768)
  fix(codex): harden app inventory invalidation and targeted publishes (#115866)
  fix(browser): uploads fail when the browser runs on a remote node (#115291)
  fix(scripts): keep format-docs output tails UTF-8 safe (#110825)
  fix(skills): recover complete apply transitions
  fix(macos): reap timed-out shell process groups (#115859)
  refactor(ollama): unify model inspection and setup (#115879)
  fix(ui): muted theme text below WCAG AA contrast in webchat (#114586)
  fix(test): restore isolated memory manager tests (#115880)
  fix(skills): revalidate rollback targets
  ...
vincentkoc added a commit that referenced this pull request Jul 29, 2026
* origin/main: (95 commits)
  fix(codex): keep stressed inference turns isolated and observable (#115893)
  feat(skills): review interrupted deep turns in experience review (#115887)
  fix: reject malformed UTF-8 in proxy gateway error response bodies (#111852)
  fix(browser): stabilize atomic download staging (#115892)
  fix(google): cancel unread response body on video download error (#110045)
  refactor(ui): give Memory the shared hub header with hoisted agent scope (#115884)
  fix(test): stop asserting exact video deadline budgets (#115883)
  feat(gateway): expose MCP tool identity in effective tools (#115870)
  fix(skills): verify workshop migration without recovery
  refactor: replace context-engine retry proxy with declared params (#115872)
  fix: reject malformed UTF-8 in hosted official plugin catalog feed responses (#111768)
  fix(codex): harden app inventory invalidation and targeted publishes (#115866)
  fix(browser): uploads fail when the browser runs on a remote node (#115291)
  fix(scripts): keep format-docs output tails UTF-8 safe (#110825)
  fix(skills): recover complete apply transitions
  fix(macos): reap timed-out shell process groups (#115859)
  refactor(ollama): unify model inspection and setup (#115879)
  fix(ui): muted theme text below WCAG AA contrast in webchat (#114586)
  fix(test): restore isolated memory manager tests (#115880)
  fix(skills): revalidate rollback targets
  ...
vincentkoc added a commit that referenced this pull request Jul 29, 2026
…d-fingerprint

* origin/main: (36 commits)
  fix(codex): keep stressed inference turns isolated and observable (#115893)
  feat(skills): review interrupted deep turns in experience review (#115887)
  fix: reject malformed UTF-8 in proxy gateway error response bodies (#111852)
  fix(browser): stabilize atomic download staging (#115892)
  fix(google): cancel unread response body on video download error (#110045)
  refactor(ui): give Memory the shared hub header with hoisted agent scope (#115884)
  fix(test): stop asserting exact video deadline budgets (#115883)
  feat(gateway): expose MCP tool identity in effective tools (#115870)
  fix(skills): verify workshop migration without recovery
  refactor: replace context-engine retry proxy with declared params (#115872)
  fix: reject malformed UTF-8 in hosted official plugin catalog feed responses (#111768)
  fix(codex): harden app inventory invalidation and targeted publishes (#115866)
  fix(browser): uploads fail when the browser runs on a remote node (#115291)
  fix(scripts): keep format-docs output tails UTF-8 safe (#110825)
  fix(skills): recover complete apply transitions
  fix(macos): reap timed-out shell process groups (#115859)
  refactor(ollama): unify model inspection and setup (#115879)
  fix(ui): muted theme text below WCAG AA contrast in webchat (#114586)
  fix(test): restore isolated memory manager tests (#115880)
  fix(skills): revalidate rollback targets
  ...
vincentkoc added a commit that referenced this pull request Jul 29, 2026
…ocess-probes

* origin/main: (56 commits)
  fix(codex): keep stressed inference turns isolated and observable (#115893)
  feat(skills): review interrupted deep turns in experience review (#115887)
  fix: reject malformed UTF-8 in proxy gateway error response bodies (#111852)
  fix(browser): stabilize atomic download staging (#115892)
  fix(google): cancel unread response body on video download error (#110045)
  refactor(ui): give Memory the shared hub header with hoisted agent scope (#115884)
  fix(test): stop asserting exact video deadline budgets (#115883)
  feat(gateway): expose MCP tool identity in effective tools (#115870)
  fix(skills): verify workshop migration without recovery
  refactor: replace context-engine retry proxy with declared params (#115872)
  fix: reject malformed UTF-8 in hosted official plugin catalog feed responses (#111768)
  fix(codex): harden app inventory invalidation and targeted publishes (#115866)
  fix(browser): uploads fail when the browser runs on a remote node (#115291)
  fix(scripts): keep format-docs output tails UTF-8 safe (#110825)
  fix(skills): recover complete apply transitions
  fix(macos): reap timed-out shell process groups (#115859)
  refactor(ollama): unify model inspection and setup (#115879)
  fix(ui): muted theme text below WCAG AA contrast in webchat (#114586)
  fix(test): restore isolated memory manager tests (#115880)
  fix(skills): revalidate rollback targets
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
…#114586)

* fix(ui): raise muted theme text tokens to WCAG AA contrast

Secondary text using --muted/--muted-foreground measured 3.1-3.5:1 on
several bundled themes (issue openclaw#107299), below the 4.5:1 AA floor for
normal text. Nudges the offending hex tokens and adds a vitest guardrail
that parses base.css and asserts every text-on-surface token pairing in
every theme block stays >= 4.5:1 so future palette edits can't regress
this silently.

Closes openclaw#107299

* fix(ui): satisfy oxlint and noUncheckedIndexedAccess in contrast test

- Number.parseInt over global parseInt, ** over Math.pow, toSorted over sort
- Guard regex capture groups and indexed access under noUncheckedIndexedAccess

* test(ui): cover rendered theme contrast in Chromium

* test(ui): prove Skill Workshop mobile width in Chromium

* test(ui): stabilize deferred history prepend anchors

* test(ui): serialize rendered theme color diagnostics

---------

Co-authored-by: Peter Steinberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: L status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Webchat dark theme secondary text (--muted) fails WCAG AA contrast (3.1-3.5:1) — readability regression, no contrast guardrail

2 participants