I was recently doing some very specific web scraping of some very public very static documents. About 25% of them use a soup of divs with hashes for class names. Not a <main> or <article> or <section> in sight. I am fine with the idea of what tailwind does but like at least using semantic tags where appropriate could be a thing.
falcor84|13 days ago
The most cited example of one that's clearly missing is <comment> for user-added content, but there are probably dozens we could add that could help deal with the div soup. By not adding any new elements, whatwg is essentially saying "You're not going to be able to use these the existing tags to fully add proper semantics anyway, so why try?"
namuol|14 days ago
jcgl|13 days ago
akst|14 days ago
luckydata|14 days ago
eitau_1|13 days ago
bryanrasmussen|14 days ago
so they may very well have semantic tags in their development environment. Of course debugging things becomes more difficult for the developer as well unless there is some sort of lookup table to tell them that class .uv.le in the browser maps to .user.name in their codebase, in which case it only becomes marginally slower for some cases.
burningChrome|13 days ago
Its not right, but a lot of times CMS's are horrifically bad at adding content without a slew of nested, auto-generated <div>'s.
xnx|13 days ago
agos|13 days ago
zeroCalories|14 days ago
ordersofmag|14 days ago
mhuffman|14 days ago
raincole|14 days ago
I wonder if the people downvoted you realize that HN is basically just a big table and a bunch of div, and they use this very site just fine?