Confirm Button
A destructive action guarded by an inline two-step confirmation. The first click reveals a confirm and a cancel control and moves focus to confirm; cancelling backs out and confirm performs the action, announcing it in a `role="status"` region.
- Axe
- Focus
Preview
Installation
npx shadcn@latest add https://ui.publictheta.com/r/confirm-button.jsonConformance
Verified against the @publictheta/ui-spec confirm-button specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.
- Axe — No WCAG 2 A/AA axe-core violations
- Focus — A visible focus indicator appears on keyboard focus (WCAG 2.4.7)
See the full conformance matrix across all components.