3 ms·
prompt & confirm are native, and so automatically and correctly work with all your accessibility software. Most "modern" modals struggle to correctly inform a
by shakna 5y ago
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.