Enforce contrast guardrails on custom palettes #51

Open
opened 2026-07-01 01:06:10 +00:00 by manlycucumber · 0 comments
manlycucumber commented 2026-07-01 01:06:10 +00:00 (Migrated from github.com)

Problem

Custom palettes must not produce unreadable, inaccessible combinations. The palette system should warn or constrain when contrast falls below threshold.

Acceptance criteria

  • Custom colour choices are checked against a contrast threshold (WCAG AA for text).
  • The admin sees a warning when a chosen combination fails contrast.
  • Rubrics-in-red remain distinguishable in all shipped presets.
  • The default and all presets pass AA contrast.

Notes

Ties into the accessibility epic.

## Problem Custom palettes must not produce unreadable, inaccessible combinations. The palette system should warn or constrain when contrast falls below threshold. ## Acceptance criteria - [ ] Custom colour choices are checked against a contrast threshold (WCAG AA for text). - [ ] The admin sees a warning when a chosen combination fails contrast. - [ ] Rubrics-in-red remain distinguishable in all shipped presets. - [ ] The default and all presets pass AA contrast. ## Notes Ties into the accessibility epic.
Sign in to join this conversation.
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
Directorium/Ordo#51
No description provided.