News for hackers. Stuff that matters.
Re:Implement window.{alert, prompt, confirm} removal from cr... by shakna on Tuesday August 03, 2021 @09:52PM (#28056378)
prompt & confirm are native, and so automatically and correctly work with all your accessibility software.

Most "modern" modals struggle to correctly inform a screenreader, let alone all the other accessibility tools.

So yes, I would say that 'confirm' is a far better way of doing it.

There are no comments on this comment yet.