You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
Replace window.confirm vault reset with the in-app DangerConfirm/Sheet (WCAG 4.1.2) #57
Currently, vault reset uses a native window.confirm (WCAG 4.1.2 / internal consistency): src/views/UnlockView.tsx:35 triggers a destructive action via window.confirm, whereas elsewhere the app uses the accessible DangerConfirm/Sheet pattern. The native dialog is inconsistent and less accessible than the in-app pattern.
Expected outcome
Vault reset uses the in-app DangerConfirm/Sheet pattern instead of window.confirm.
Acceptance criteria
Vault reset routes through the existing Sheet + DangerConfirm pattern rather than window.confirm.
Technical notes
Replace the window.confirm call in src/views/UnlockView.tsx:35 with the existing Sheet + DangerConfirm components used elsewhere in the app.
Additional context
Part of epic #28. Severity: Moderate. WCAG 2.2 SC 4.1.2 Name, Role, Value; consistency with the app's accessible confirm pattern.
Activity