by andybak · 8y ago · 0 comments
Author cherry picks one of the few elements where the "semantic" issue actually results in different browser behaviour.
They then go on to extrapolate this to a broader point that isn't sustainable based on that example. For instance - div vs section has no effect on functionality to the best of my knowledge.
I suspect there are more examples of cases where semantic HTML is pointless cargo-culting than there are of when it makes a real difference to any existant user agent.
I remember a fair while back there being a distinct mismatch between the theory and the reality on the ground. Hardly anyone was actually talking to their intended audience. There was a lot of box ticking.
But unfortunately it’s not worth pointing this out, or daring to think of better ways. I’d note your comment is greyed out, and mine suggestion (https://news.ycombinator.com/item?id=16035056) is way into negative territory.
Better to just check boxes I guess.
Perhaps putting the HTML standard on a diet would be a more efficient approach?
Screenshot the webpage -> Neural Network to segment the page and decide what is the navigation -> text extraction from image, with corrections from (rendered) HTML source.
All the parts are there and work better than existing screen readers.
You seem to be overestimating how close to practicality neural-network approaches are for most problems. Very much of the potential application space is still firmly within the domain of research. That doesn't mean what you described is completely impossible, just that you could get a PhD for pulling it off.
[1] https://arxiv.org/abs/1609.04938v1 (incidentally, I noticed that the version of the paper that was accepted for ICML 2017 no longer has the HTML part)
The exciting thing is that in this case it doesn't need to be. Segmentation (which is solved) is sufficient to identify semantically separate parts of the page, and then OCR can be used to place the text from the html on the representation of the page.
But that's beside the point. Your comment is like saying "They have powered exosuits now, so why do we still need to put ramps on buildings for people in wheelchairs?"
I can only hope that your level of apathy and contempt is not shared by more web designers.
Identifying a better solution to a problem is a long way from apathy and contempt. In fact it is how things improve.
Far from your exosuits vs wheelchair comment, this is more like saying that wheelchairs are good enough.