diff --git a/CLAUDE.md b/CLAUDE.md index 9f30302..2dc46e0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -47,7 +47,7 @@ Accessibility is a contractual acceptance criterion. It covers the whole UI: nav - **Personal identity codes** (*henkilötunnus*, consumer customers) are sensitive personal data: stored encrypted (`encrypted` cast, `$hidden`) with an HMAC blind index for duplicates, never in `CustomerSummary`, search, logs, exception messages or Livewire public properties, and shown in full only behind `customers.view-personal-identity-code` (admin, management) via `CustomerQueries::personalIdentityCodeOf()`; everyone else sees `masked()`. - Never convey meaning by colour alone. Statuses, priorities (e.g. *kiire* = red), errors and warnings always also have visible text or an icon with text. - Announce dynamic changes: put status text in `role="status"` / `aria-live="polite"` (errors: `role="alert"`), or a TallStackUI toast (`` must then be added to the layout). Keep button names stable instead of putting changing state in them. -- Make everything work with the keyboard alone, with a visible focus indicator and no focus traps. Use `` for dialogs (not ``, see above) and check that focus moves in and returns. +- Make everything work with the keyboard alone, with a visible focus indicator and no focus traps. Use `` for dialogs (not ``, see above) and check that focus moves in and returns. Drag and drop uses Livewire's `wire:sort` (see `jobs::board`), and every drag has a keyboard alternative (e.g. a status select on each card). - The layout (`resources/views/layouts/app.blade.php`) provides a skip link and a `
` landmark. Keep them, and add `