Consolidating Ledgerpine's billing portal into an accessible, fast UI system
Replaced fragmented marketing and billing templates with a unified, accessible design system supporting keyboard workflows and both light and dark modes.
- Accessibility contrast & keyboard issues
- 0 issues
- Baseline: 29 issues
- Interaction delay (INP)
- 68 ms
- Baseline: 340 ms
- CSS bundle size
- 24 KB
- Baseline: 210 KB
Context
Ledgerpine’s product team maintained three overlapping stylesheet sets across their marketing site, onboarding flows, and reconciliation tables. Contrast failures on muted status badges and sluggish filter controls slowed down daily accounting workflows.
Issues identified
- Three competing component libraries inflated CSS payloads to 210 KB and produced inconsistent keyboard focus behavior.
- Dense invoice tables re-rendered entire DOM trees on every filter keystroke, pushing Interaction to Next Paint (INP) to 340 ms.
- Light-mode status tags failed WCAG 2.2 AA contrast thresholds for secondary text, and dark mode had broken table borders.
Engineering changes
We audited every semantic color token for 4.5:1+ contrast across both light and dark palettes, isolated table filter updates to eliminate synchronous layout thrashing, and consolidated UI primitives onto shared accessible controls with native keyboard focus management.
Outcome
Interaction delay dropped from 340 ms to 68 ms, the stylesheet footprint shrank by 88% (210 KB to 24 KB), and the public and onboarding surfaces passed WCAG 2.2 AA verification with zero open defects.
:root {
--bg-surface: #ffffff;
--status-good: #15693a;
--status-warn: #9a4a06;
}
[data-theme="dark"] {
--bg-surface: #16191e;
--status-good: #4ad183;
--status-warn: #f0a93b;
}Facing a similar performance, SEO, or security bottleneck?
Run a diagnostic scan on your public domain or send your architecture details directly to our engineers.