News for hackers. Stuff that matters.
Re:The <Dialog> Element by wg0 on Sunday February 12, 2023 @04:20AM (#34761357)
It seems like the <font> tag all over to me. No?
Re:The <Dialog> Element by pickpuck on Sunday February 12, 2023 @04:30AM (#34761403)
Interesting! I'd say:

<font> provides no structural or accessibility information. It was only there for styling purposes.

<dialog> provides structural and accessibility information plus interactivity that previously required JavaScript. It comes with default styles but that's not the primary reason to use it.

Re:The <Dialog> Element by wg0 on Monday February 13, 2023 @09:40AM (#34773913)
What I mean to say is that language itself had decorative elements at one point. Like font and friends. At that point, it seemed a reasonable idea.

But now - UI elements are getting into HTML and at this point, it seems right. I'm not sure about the future.