News for hackers. Stuff that matters.
Re:Cargo Cult CSS by antris on Monday October 21, 2013 @07:49AM (#6584821)
> The web is fundamentally a semantic medium.

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

Re:Cargo Cult CSS by Isofarro on Monday October 21, 2013 @09:08AM (#6585200)
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

Re:Cargo Cult CSS by asdasf on Monday October 21, 2013 @10:00AM (#6585547)
What is fixmystreet supposed to be an example of?
Re:Cargo Cult CSS by intranation on Monday October 21, 2013 @07:59AM (#6584868)
Not sure what that has to do with semantics. Are you saying that NAV etc. aren't valid semantics on applications?
Re:Cargo Cult CSS by antris on Monday October 21, 2013 @08:04AM (#6584890)
> 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.

Re:Cargo Cult CSS by KoehlerBear on Monday October 21, 2013 @09:03AM (#6585163)
Some users do, assistive technologies can benefit significantly from semantic HTML and class names.
Re:Cargo Cult CSS by rowanmanning on Monday October 21, 2013 @09:15AM (#6585240)
Semantic HTML elements, yes, but CSS class names are ignored by assistive technology at large.