In the dark theme (Components 4.22.0, as used by the cratis template from Cratis.Templates 1.7.2), a field's validation message, for example "That name is already registered." under the Name field of CommandDialog, is rendered in rgb(204, 0, 0) on the dialog surface rgb(31, 41, 55). That's a contrast ratio of about 2.5:1, below the 4.5:1 WCAG AA minimum for normal-size text, so the message is hard to read, and the field's red outline is the only clearly visible cue.
Expected: the dark theme's error text token meets 4.5:1 against the surfaces it's used on (a lighter red, as the outline already uses).
In the dark theme (Components 4.22.0, as used by the
cratistemplate from Cratis.Templates 1.7.2), a field's validation message, for example "That name is already registered." under the Name field ofCommandDialog, is rendered in rgb(204, 0, 0) on the dialog surface rgb(31, 41, 55). That's a contrast ratio of about 2.5:1, below the 4.5:1 WCAG AA minimum for normal-size text, so the message is hard to read, and the field's red outline is the only clearly visible cue.Expected: the dark theme's error text token meets 4.5:1 against the surfaces it's used on (a lighter red, as the outline already uses).