TDS001 · deprecated-name
ruleUses a pre-Triage (mail-triage era) class, id or global instead of the renamed vocabulary.
fix: Rename via /RENAME-MAP.md (or run: python3 tools/assemble_from_pack.py --apply-map <files>).
severity: error
15 enforceable checks
Uses a pre-Triage (mail-triage era) class, id or global instead of the renamed vocabulary.
fix: Rename via /RENAME-MAP.md (or run: python3 tools/assemble_from_pack.py --apply-map <files>).
severity: error
A colour literal appears where a token exists (palette match = error) or that is not in the palette (off-system colour = warning).
fix: Use var(--token) (prefer semantic aliases: --surface-*, --text-*, --status-*) or add the colour to tokens.json.
severity: warning
A non-zero border-radius (CSS property or JS style key).
fix: Remove the radius, or fork the system deliberately by changing the token and deleting the global rule.
severity: error
outline:none / outline:0 without a visible focus replacement in the same rule.
fix: Keep the global ring, or provide :focus-visible with a 2px+ ring or a compensating box-shadow/border change.
severity: error
Margin/padding/gap/inset px values outside the normalised spacing scale.
fix: Snap to the nearest scale value or extend the scale in tokens.json deliberately.
severity: warning
Transition/animation duration not in the motion token set.
fix: Use a motion duration token value (100/120/150/180/200/240/250/280/400ms).
severity: info
z-index outside the documented ladder.
fix: Use a ladder value or extend misc.zindex in tokens.json.
severity: info
font-family declaration not using Geist / Geist Mono (or inherit).
fix: Use the system stacks (or var(--mono)), or change the token in tokens.json for a deliberate rebrand.
severity: error
A project stylesheet redefines a Triage custom property (--bg, --acc, --surface-* …).
fix: Edit tokens/tokens.json and regenerate, or use a distinct non-system variable name for local values.
severity: error
A class used in markup that core.css / patterns.css do not define (opt-in, may be a project class).
fix: Use a system class, or allowlist the project class in .triagerc.json.
severity: info
A defined token pair fails WCAG contrast (4.5:1 text / 3:1 non-text).
fix: Adjust the token value(s) so the pair meets the threshold, or extend .triagerc.json contrastPairs for intentional exceptions.
severity: error
A product stylesheet consumes a primitive token directly where a semantic alias exists.
fix: Use the alias (e.g. var(--surface-card) instead of var(--card)). Definitions inside tokens.css are exempt.
severity: warning
Physical direction property (margin-left, left:, text-align:left …) instead of logical properties.
fix: Use margin-inline-start/end, padding-inline-*, border-inline-*, inset-inline-*, text-align:start/end.
severity: warning
<img> without an alt attribute.
fix: Add alt with a description, or alt="" when the image is decorative.
severity: error
Interactive element with no accessible name (empty button/link, no aria-label), or a positive tabindex.
fix: Add text or aria-label; never use tabindex > 0.
severity: error
Non-zero border-radius anywhere — zero radius is a system policy (enforced globally).
signals: rounded corner, border-radius, rounded edges, soft corners, rounded, corner radius, pill-shaped
Removing focus outlines without an equivalent visible :focus-visible replacement.
signals: remove focus, remove the focus, hide the outline, no focus ring, disable outline, outline: none, outline none
Raw colour literals where tokens exist; off-palette colours must be added to the token source deliberately, not inlined.
signals:
Off-system font stacks (Geist / Geist Mono or inherit only).
signals: comic sans, futura, custom typeface, off-system font, different font family, helvetica
Redefining a system custom property (--bg, --acc, --surface-*, …) in product CSS.
signals: override the css variable, redefine the token, change --bg, redefine --, override --
Conveying status by colour alone.
signals: colour only, color only, by colour, by color, colored dot only, coloured dot only
A confirm() dialog or custom modal to delete a listed entity — entity deletes use the armed two-step pattern instead.
signals: confirm before deleting, popup to confirm delete
Page-local toast markup or query-param toasts — the shared toast host owns feedback.
signals: page-local toast, query param toast, query-param toast
Chart colours chosen ad hoc instead of the dataviz palette (CVD-checked, greyscale-safe).
signals: chart colors, chart colours, graph colors, graph colours
Render plain content using the system type scale, spacing roles and layout tokens: system text styles on a system surface, no new visual language, no invented component skin.
scope: layout, content, typography, status
If no system control fits, use the platform's native element with minimal token-conformant styling; keep native semantics and degrade without JS.
scope: forms, controls, input
When nothing sanctioned fits and any fallback would mislead users, omit the feature area rather than inventing canon, and report a gap.
scope: *