Hacker News new | ask | show | jobs
by tanepiper 562 days 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-h...

1 comments

I 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?