4 ms·
The dialog tag is not a good idea - it can still be used to completely force a user into clicking and forcing an action they can't control https://tane.dev/202
by tanepiper 2y ago
The dialog tag is not a good idea - it can still be used to completely force a user into clicking and forcing an action they can't control
https://tane.dev/2021/02/revisiting-dark-patterns-with-the-html-dialog-tag/ https://tane.dev/2021/02/revisiting-dark-patterns-with-the-h...
- skrebbel 2y agoI tried the stackblitz demo you linked to and I don't get it, why is "this element lets people author terrible user-hostile webpages" an indictment of the element? I mean you can make a user-hostile page with divs too. People won't be prevented from eg closing the tab, right?