News for hackers. Stuff that matters.
Re:Static web – back to the roots? by mrzool on Saturday May 25, 2019 @04:28AM (#20007757)
Admittedly just bikeshedding, but the author is using a blockquote tag instead of an h2/h3 right under the h1 title for the summary of the article. Makes me think he probably doesn’t have that firm of a grasp on the fundamentals of semantical HTML and markdown, let alone web development in general.

This is, by the way, something I see a lot out in the wild, especially in Medium articles but also in READMEs on GitHub. Please stop using blockquote tags for emphasis purposes.

Re:Static web – back to the roots? by icebraining on Saturday May 25, 2019 @04:38AM (#20007781)
The lede is not a heading, why should the author use an <h*>?
Re:Static web – back to the roots? by mrzool on Saturday May 25, 2019 @04:46AM (#20007806)
I see your point, an h* would probably also be inappropriate. What would you use? Just a normal p tag with some styling?
Re:Static web – back to the roots? by ravenstine on Saturday May 25, 2019 @12:21PM (#20009814)
`role="heading"`?
Re:Static web – back to the roots? by detaro on Saturday May 25, 2019 @12:23PM (#20009842)
no, that's the same as <hX>

I'd probably go with just a styled text, maybe with an aria-label.