logoalt Hacker News

rouncetoday at 10:10 AM1 replyview on HN

Why have `<div data-part="form">` instead of using a `<form>` element?


Replies

zhismetoday at 12:44 PM

this! it is absolutely nuts having everything in div/span elements and then assigning data/class attributes so they could behave like form or any other interactable element..