The text probe reads a gradient background as white #417

Closed
opened 2026-11-08 00:04:10 -05:00 by cmoriarty · 1 comment
Owner

What happens. run 181's landing page, light text on a root background-image gradient, listed "Help", "Scratch", "Your name" at 1.15:1.

Fix. when no opaque backgroundColor is found, take the first colour stop of the root's background-image.

Done when. the probe journey passes light text on a dark gradient.

From run 181, the verifying run after #407; the log is docs/design/measurements/work/run-180/findings.md.

**What happens.** run 181's landing page, light text on a root `background-image` gradient, listed "Help", "Scratch", "Your name" at 1.15:1. **Fix.** when no opaque `backgroundColor` is found, take the first colour stop of the root's `background-image`. **Done when.** the probe journey passes light text on a dark gradient. From run 181, the verifying run after #407; the log is `docs/design/measurements/work/run-180/findings.md`.
Author
Owner

Shipped in PR #421 (ff9381d8), change judge-round-two-mechanics. When no ancestor has an opaque background colour, the text probe takes the first colour stop of the nearest gradient background-image as what is behind the text (reported in color), before falling back to white. Journey: light text on a root linear-gradient(#0d1b2a, #1b263b) is not listed, and faint text on it is listed at 1.15:1 against the gradient.

**Shipped in PR #421 (ff9381d8), change `judge-round-two-mechanics`.** When no ancestor has an opaque background colour, the text probe takes the first colour stop of the nearest gradient `background-image` as what is behind the text (reported in `color`), before falling back to white. Journey: light text on a root `linear-gradient(#0d1b2a, #1b263b)` is not listed, and faint text on it is listed at 1.15:1 against the gradient.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid#417
No description provided.