Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: