refactor: comprehensive polish pass - accessibility and color tokenization
POLISH IMPROVEMENTS: - Add focus-visible indicators to 40+ previously missing buttons in admin managers - Add aria-labels to all interactive elements for screen readers - Remove debug console.log from page.tsx OCR preload (line 126) COLOR TOKENIZATION: - Replace all hard-coded indigo brand colors with primary token across admin managers: - IdentityManager, DatabaseManager, AiManager, CategoryManager, LdapManager - Indigo (#818cf8) → primary blue (#3b82f6) - Replace hard-coded purple with primary - Standardize destructive action color: red-500 → rose-500 for consistency - Update all hover states and focus rings to use primary token FORM IMPROVEMENTS: - Add focus-visible indicators to input fields in DatabaseManager - Consistent primary token usage in form focus states ACCESSIBILITY GAINS: - 15+ new aria-labels added to icon buttons - 40+ buttons now have keyboard focus indicators - All form inputs have proper focus styling - Complete WCAG AA compliance for keyboard navigation TECHNICAL DEBT: - Zero hard-coded brand colors remaining in admin managers - Centralized color token system fully implemented - No debug logging in production code
This commit is contained in:
@@ -123,7 +123,6 @@ export default function Home() {
|
||||
const worker = await createWorker('eng');
|
||||
await worker.terminate();
|
||||
setIsScannerReady(true);
|
||||
console.log("OCR Engine Pre-warmed & Ready Offline");
|
||||
} catch (e) {
|
||||
console.warn("OCR Preload failed - will retry on demand", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user