No native prompt or confirm dialogs
AGENTS.md and proposed
Confirmation steps are built into the page, never the browser's prompt(), confirm() or alert(). Proposed in the HAX Scheduled Background Jobs Plan; not written into RULES.md or AGENTS.md yet. Enforced by ESLint. ESLint no-alert (alert, confirm and prompt calls) in webcomponents, an error in CI and in yarn precheck (haxtheweb/issues#3295).
Status: planned
Connects to
- Proposed: Platform rules includes this
- ESLint enforces this
- Serves Accessible
- Applies to Web components
- Applies to HAXcms