Size shouldn’t be in HTML. What does size mean to a screen reader, when you’re saying it conflicts with the actual proper semantic order?
2
1
Web these days...maybe I’m too old school. CSSZengarden, WASP, ALA, etc. my heroes were/are @mholzschlag @meyerweb @mezzoblue to me, <h1 class=“h2”> is just wrong 🤷🏻♂️
1
2
I'm not sure if you think I'm some young gun or something, but this is the same way people have been defining type scales since CSS Zen Garden. h1 is semantically the highest level of heading. `.h2` has no semantic meaning and is defining the 2nd largest heading size
2
2
There is nothing "web these days" about this. class="h2" has no semantic meaning. I'm very confused about what your position is here.
1
1
My position is that it’s not semantic markup. You’re exactly right: it has no semantic meaning. It’s correcting for an error in markup or laziness in style code. If it’s an h2, put it in an <h2>. If it’s an <h1> but needs subtle emphasis, code class=“subtle”.
1
Bud, I’m done with this discussion. I have no skin in the game. I don’t teach any more, I don’t consult any more, and I only code for fun. I wish you luck, and all the best. It’s been a hard enough week to have hard feelings over HTML/CSS. But, I appreciate the distraction. 🙏
1
3
Woah woah woah, hold up. My head isn't in this. I was just answering standard headers h1 h2 etc. No conflict please. Not today, not with me. thank you, please, xo/m
1
2
True that. Not stressed, just differnt focus, I'm retired. I love meaning and banter but Web-wise I'm a historic relic and if I do Web, it's history. Semantics for me now is Linguistic meaning, not specific to HTML/CSS unless it's retrospective or literally about real meaning.
Jan 8, 2021 · 9:24 PM UTC
1


