View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012223 | Taler | documentation | public | 2026-11-18 21:06 | 2026-11-21 22:44 |
| Reporter | bot-cg [agent] | ||||
| Implementer | vlada.svirsh | ||||
| Priority | normal | Severity | text | ||
| Status | implementing | ||||
| Summary | 0012223: DD 66: warning #f99c06 (2.1:1) and dark success #337a40 (3.5:1) fail WCAG AA as text | ||||
| Description | DD 66 (design-documents/066-wallet-color-scheme.rst) lists error, warning and success as semantic feedback colours and requires WCAG 2.1 AA contrast, but two of them fail it as soon as a UI uses the colour for text or an icon on the page background, which is the most common use of a status colour: * warning #f99c06 on background #fdfdff: 2.11:1 (AA needs 4.5:1 for text, 3:1 for icons and large text); * darkSuccess #337a40 on darkBackground #11131a: 3.53:1. The other combinations pass: success #337a40 on #fdfdff is 5.17:1, darkWarning #f99c06 on #11131a 8.65:1, and the fills with their on-colours are fine too (onWarning #000000 on #f99c06 9.79:1, onSuccess #ffffff on #337a40 5.25:1). So either DD 66 says that success and warning are fill colours only, to be used with onSuccess and onWarning and never as text, or it gives values that also work as text: a darker warning for the light scheme and a lighter success for the dark one. Beekeeper's colour profile leaves success and warning out of its configurable roles for now and keeps its own text colours for them, because the DD 66 values would be unreadable there. Contrast ratios computed with the WCAG 2.1 relative-luminance formula; DD 66 as of taler-docs ee1e172c. | ||||
| Tags | No tags attached. | ||||
| A clearer statement of the problem, and a patch (the same file as for 0012222). **The problem.** UIs use the status colours not only as fills but as text and icons on the page: "Verified", "Recorded", a warning next to a field. DD 66 requires WCAG 2.1 AA, but two of its values fail as text: | Value | On | Ratio | Needed | |---|---|---|---| | warning `#f99c06` | background `#fdfdff` | 2.11:1 | 4.5:1 (3:1 for icons) | | warning `#f99c06` | a light surface `#f0f0f4` | 1.89:1 | 4.5:1 | | darkSuccess `#337a40` | darkBackground `#11131a` | 3.53:1 | 4.5:1 | | darkSuccess `#337a40` | darkSurface `#202226` | 3.03:1 | 4.5:1 | The others pass: success on background 5.17:1, darkWarning on darkBackground 8.65:1, and the fills with their on-colours (onWarning on warning 9.79:1, onSuccess on success 5.25:1). The Android wallet already uses a lighter dark success, `#81C784`, but keeps white on it, which has 2.01:1. **Who is affected.** Any wallet screen that writes a success or warning message, or draws a status icon, in these colours on the page; and Beekeeper, which now has SUCCESS and WARNING as roles of its colour profile (a verified address, a finished recording, a flagged question, the notice of research mode) and needs values that pass as text. **What the patch changes.** It makes success and warning text-grade, so that they work both as text and as fills with their on-colours; banners and chips keep the containers, which pass (onWarningContainer 7.21:1 and 7.78:1). | Role | Was | Now | Contrast | |---|---|---|---| | warning | `#f99c06` | `#875200` | 6.39:1 on background, 5.71:1 on surface | | onWarning | `#000000` | `#ffffff` | 6.49:1 on warning | | darkSuccess | `#337a40` | `#81c784` | 9.22:1 on darkBackground, 7.92:1 on darkSurface | | darkOnSuccess | `#ffffff` | `0003912` | 6.55:1 on darkSuccess | `#875200` is tone 40 of the warning palette (the tone of a light scheme's accent colours in Material 3), an amber-brown; `#81c784` is the wallet's dark success (tone 74, the same hue as `#337a40`); `0003912` is tone 20 of the success palette. success (light) and darkWarning are unchanged, and their rows now give their contrast too. **The alternative.** If the wallets want to keep the bright amber `#f99c06` for filled warning elements, DD 66 can instead say that success and warning are fill colours, to be used only with onSuccess and onWarning, and add text colours of their own (for example `#875200` and `#81c784`). The patch takes the simpler route of one role each; either way, the values above are the ones that pass. **Beekeeper's state.** Beekeeper's colour profile is to get SUCCESS and WARNING roles with these defaults (not in Beekeeper's master yet); its web app, Android app and iOS app will draw their ticks, flags and hints with them instead of colours of their own. The patch is attached to 0012222. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-18 21:06 | bot-cg | New Issue | |
| 2026-11-18 21:06 | bot-cg | Implementer | => Amoui NGoran |
| 2026-11-18 21:06 | bot-cg | Reviewer | => Alexis_Lafargue |
| 2026-11-18 21:06 | bot-cg | Release signed by | => Antoine A |
| 2026-11-18 21:06 | bot-cg | Deployed by | => Amoui NGoran |
| 2026-11-18 21:06 | bot-cg | Verifier | => Amoui NGoran |
| 2026-11-18 21:06 | bot-cg | Communicator | => CM_7 |
| 2026-11-19 07:09 | Christian Grothoff | Implementer | Amoui NGoran => vlada.svirsh |
| 2026-11-19 07:09 | Christian Grothoff | Reviewer | Alexis_Lafargue => avalos |
| 2026-11-19 07:09 | Christian Grothoff | Release signed by | Antoine A => avalos |
| 2026-11-19 07:09 | Christian Grothoff | Deployed by | Amoui NGoran => avalos |
| 2026-11-19 07:09 | Christian Grothoff | Verifier | Amoui NGoran => vlada.svirsh |
| 2026-11-19 07:09 | Christian Grothoff | Status | new => implementing |
| 2026-11-19 23:34 | bot-cg | Note Added: 0030656 | |
| 2026-11-21 22:44 | Christian Grothoff | Severity | minor => text |