|
|
|
|
|
by FactoryReboot
1610 days ago
|
|
The biggest use case for semantic html is accessibility imo. Given Aria tags are the main workhorse there, I say semantic html has failed to provide value there. Given all the html created via a component like pseudo element, it further questions the value added imo. Potentially unpopular opinion, but semantic HTML failed to adequately solve any problems it has set out to solve. Even selectors are better done via something like css modules anyway. Sure the end compiled HTML is a mess, but that’s like complaining your bytecode or binary is messy. Who cares? Long live div soup. |
|
Everyone who downloads more data than necessary cares, or whose browser has to spend more battery power to parse that HTML, or who has to wait because you made a page that can't being rendered as it streams in, or any developer who needs to debug that mess in 2 years time because you couldn't write something simple and understandable and you've moved on to a new role.
(Not that any of those things are about semantic HTML specifically; they're more about caring about the structural output of your code.)