Hacker News new | ask | show | jobs
by antris 4627 days ago
> The web is fundamentally a semantic medium.

I think this premise is outdated. The web is more and more hosting apps rather than documents.

2 comments

This "apps rather than documents" is hokum. Each time one of these JavaScript-mandatory websites is declared a case-study in web app development best practice, decrying progressive enhancement, there's normally something underneath about building a PhantomJS scraper so that search engines are indexing something more than a blank page.

For example, bustle.com's PhamtonJS emulation of being a good webizen: https://twitter.com/tyleralove/status/367494129091346432

I like how people keep pointing to Google Maps as an example of Web Apps, and how web development best practice is outdated: http://www.fixmystreet.com/around?pc=SW1A+2AA

What is fixmystreet supposed to be an example of?
Not sure what that has to do with semantics. Are you saying that NAV etc. aren't valid semantics on applications?
> Are you saying that NAV etc. aren't valid semantics on applications?

What I mean is that the (supposed) benefits of semantic use of CSS classes go out of the window when you're no longer hosting documents to be read by machines. And the user does not care if the classes of HTML elements are semantic or not.

Some users do, assistive technologies can benefit significantly from semantic HTML and class names.
Semantic HTML elements, yes, but CSS class names are ignored by assistive technology at large.