News for hackers. Stuff that matters.
Re:The right tag for the job: why you should use semantic HTML by austincheney on Monday June 07, 2021 @11:37PM (#27430403)
> What not to do

What you said. Most of what you said is common anti patterns. The reason is web technologies are built around a few set of standards that are designed for extension, such as the DOM and WCAG. Fearing those standards for a small set of static principles is common but that doesn’t make it smart. That’s why this technology space is so hostile to originality. You mentioned NIH but the more common problem is: https://en.m.wikipedia.org/wiki/Invented_here

Stop being so afraid and hostile. Embrace how these technologies work and more easily achieve accessibility with less effort. If you are waiting for some tool, NPM package, or framework to do it for you it’s not going to happen.

Re:The right tag for the job: why you should use semantic HTML by inopinatus on Tuesday June 08, 2021 @12:15AM (#27430580)
onkeydown is not a “technology”.

Abusing standards with shoddy inner-platform reimplementations doesn’t make someone an innovator, it makes them as much a fool as the cargo-cult of the NPM ecosystem.

Re:The right tag for the job: why you should use semantic HTML by austincheney on Tuesday June 08, 2021 @03:57AM (#27431731)
Strange, I always thought the greatest fools are the people who fear the titles they wear.
Re:The right tag for the job: why you should use semantic HTML by inopinatus on Tuesday June 08, 2021 @04:13AM (#27431820)
That is merely a corollary of the Peter Principle.