/** * UnitInput Component Accessibility Report Data * WCAG 2.0, 2.1, 2.2 (Level A, AA, AAA) Compliance Analysis * * Note: Items marked with "unsure" require manual verification * Color contrast ratios should be verified using actual color values from theme tokens */ import type { AccessibilityReport } from '../../../Button/accessibility/ButtonAccessibilityReport' export const unitInputAccessibilityReport: AccessibilityReport = { componentName: 'UnitInput', wcagVersion: '2.2', reportDate: new Date().toISOString().split('T')[0], conformanceLevel: 'Level AA', overallStatus: 'partial', summary: 'The UnitInput component demonstrates strong compliance with WCAG 2.0, 2.1, and 2.2 standards at Level A and AA. It combines a numeric input with an adjacent unit label (e.g., currency, percentage, weight) while preserving proper label association, keyboard navigation, error identification, ARIA attributes, and focus management. The component uses semantic HTML (), unique IDs for label/error associations, aria-describedby for linking hints and errors, and unit labels rendered as supplementary visual text. Some contrast ratios require manual verification. The component fully meets Level A requirements, fully meets Level AA requirements (with some items requiring verification), and partially meets Level AAA requirements, with 1.4.6 Contrast (Enhanced) remaining non-compliant by design.', criteria: [ { id: '1.3.1', level: 'A', title: 'Info and Relationships', status: 'compliant', description: 'Information, structure, and relationships conveyed through presentation can be programmatically determined.', implementation: 'Uses semantic HTML element. Label association via