Bad contrast in the banner which recommends to externalize the attachments
Author: fflorentCreated Sep 23, 2026Updated Sep 23, 2026
LabelsAccessibility
Describe the current behavior
When a user reaches the threshold defined by GRIST_ATTACHMENTS_THRESHOLD_MB, they get this banner (here localized in French):
The WCAG ratio for the contrast is 2.2: https://contrast-finder.tanaguru.com/result.html?foreground=%23ffffff&background=%23e6a117&ratio=4.5&isBackgroundTested=true&algo=Rgb&distanceSort=asc
Instead we may use a darker background color, like #A76906, which gives a ratio of 4.5.
Steps to reproduce
Describe the expected behavior
No response
Where have you encountered this bug?
- On docs.getgrist.com
- On a self-hosted instance
Instance information (when self-hosting only)
Grist instance:
- Version: 1.7.19
Browser name, version and platforms on which you could reproduce the bug: Firefox 140.16.0esr
Source: gristlabs/grist-core