Consent v0.2.0
Accessibility
Preserve understandable choices, keyboard operation and readable presentation.
Choice and language
Use clear purpose descriptions and accurate category labels. Optional categories should start unchecked. Keep Accept and Reject equally available; the quickstart sets hasAcceptRejectEqualWeight.
Keyboard behavior
The preferences view is a labelled nonmodal region. Opening moves focus to its heading; Tab follows normal page navigation. Disabled switches are skipped. Escape closes preferences while focus is within the panel, returning to the collapsed trigger.
The panel does not trap focus or block the rest of the page. Include an accessible application-owned control for reopening choices after dismissal.
Presentation checks
Test your customized integration at narrow widths, 200% zoom and increased text spacing. Keep controls visible and labels readable. Verify reduced motion and forced-colors behavior after overrides.
Custom colors must preserve at least 4.5:1 contrast for normal text and 3:1 for meaningful control boundaries and focus indicators. The theme reference identifies the relevant tokens.
Before shipping
Walk through Accept, Reject, preferences editing, cancel, Apply and reopening with keyboard and assistive technology. Automated tools supplement this review; they do not establish complete accessibility or application compliance.