Hacker News new | past | comments | ask | show | jobs | submit login

One of the side effects of this problem I see is poor accessibility. So many devs learn the latest hottest javascript framework as the way to make a webpage. They end up making pages that are full of div + span soup, with complicated javascript interactions. Careful use of proper HTML elements and stylesheets go a long way that are often overlooked by bootcamp/CS degree hotshots.



Rachel Andrews is a great inspiration to me but the post here is kind of mid conversation, normally she emphasises document structure and accessibility.

She also is an evangelist for CSS Grid and why that should be the layout engine of choice instead of a framework.

I think a catering analogy is in order for those people that say that this basic stuff is not important and you have to take the frameworks if you work in a large team on these mythical mega projects. The analogy goes along the lines of 'can you cook for yourself' yet it doesn't really apply if you want to work in McDonalds. In a hotel kitchen that does 200 head wedding dinners clearly you need to be able to use the catering supplies and not necessarily know how to do actual cooking. I will work on the analogy, but there has to be a better response to the comments provided by people engrossed in complex build tools, frameworks and esoteric TLAs.

You are right though, and there is no reason why some vast modular behemoth of a system cannot write the proper HTML tags, e.g. aside, section, nav, figure not to mention main, header and footer with people knowing what they are doing rather than using these elements because they might be better for SEO. There is also a problem with the design process that does not put content first and takes a visual mockup as the starting point with nothing on the mockup having semantic value.

I regularly look at 'view source' to see how bad the sea of divs and class tags gets. It all goes against Google's performance recommendations yet it gets churned out by people that should know better. So long as you are with the delusion of grandeur that your website is so much more enterprisey and complex than these little things Rachel Andrews works on then you are going to stick thinking that way - pay cheque depends on it.

I think that there needs to be more of a movement like what happened with responsive design or flat design, a new thing that people understand even if they have no practical skills. The tools are all there but it requires as much unlearning as learning. Few in the industry have the circumstance to forget everything and go to proper HTML with vanilla javascript and CSS that uses grids and CSS variables. But it is a good entry point what we have now, coding for evergreen browsers, with time saving arguments that are compelling.

When I do view source and I see a couple of HTML5 tags and a sea of divs I think that the web page is by a team of people that actually do not know HTML. They have their excuses but when you look at it there is no logic to it. I got told off once for using an address tag around the copyright notice in a footer, as if I was insane. I was told to replace it with a div.


Yes, this is so sad to see. The obsession with frameworks and "JS everywhere" pushed the users interests out of the picture. I really really miss the start of the XXI century when web was improving at a fast pace. All those web standards and accessibility initiatives where are they? Does anyone even use validators any more? Even if adherence to standards does not matter, accessibility still should. Alas.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: