USWDS components used where applicable
Why it matters
OMB M-23-22 requires federal agencies to use USWDS components — not just tokens — to create the consistent, trustworthy experience the public expects from .gov sites. Custom or third-party component libraries (Bootstrap, Material UI, shadcn) introduce component patterns that differ from the established federal design language, forcing citizens to re-learn interaction patterns when moving between agency sites. More critically, third-party components often fail USWDS accessibility validation: USWDS button, input, and alert components are built to Section 508 and WCAG 2.1 AA specifications that custom implementations routinely miss.
Severity rationale
Low because using non-USWDS UI components violates OMB M-23-22's design system adoption requirement and frequently introduces accessibility regressions in buttons, form inputs, and alerts that USWDS components are specifically engineered to prevent, but the impact is incremental rather than blocking.
Remediation
Replace custom UI elements with USWDS equivalents. Start with the highest-traffic components: buttons, form inputs, and alerts. Target at least 50% usa-* class coverage across all UI component files.
// Before: custom button
<button className="btn-primary">Apply Now</button>
// After: USWDS button
<button className="usa-button">Apply Now</button>
// Before: custom text input
<input className="form-field" type="text" />
// After: USWDS input
<input className="usa-input" type="text" />
For the navigation and footer — the most visible agency-identity components — adopt usa-nav and usa-footer directly. Reference the USWDS component library at designsystem.digital.gov for markup patterns, and run the USWDS Compliance Checker to measure usa-* class coverage.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Government Web Standards Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- external · uswds-3 — U.S. Web Design System (USWDS) 3.x — component library specification (usa-button, usa-nav, usa-footer, etc.)
- external · omb-m-23-22 — OMB M-23-22 — USWDS component adoption requirement for digital-first federal experience
Taxons
History
- 2026-04-18·v1.0.0·Initial import from gov-web-standards·automated