<strong> is not a better <b>

Lest anyone think I’m not an equal-opportunity ranter, I’ll pull this out of my comments:

The default WordPress theme includes vertical bars in the “postmetadata” section, between the category (and the “Edit this” link if you are logged in) and the number of comments, with

<strong>|</strong>

which, as I said, would seem to be trying to say as semantically as it can, “No, really, dude, I mean it: vertical bar!”

Repeat after me: <strong> is not a “better” <b>, <em> is not a “better” <i>, both <b> and <i> still appear in the DTDs for XHTML 1.0 and XHTML 1.1’s Presentation Module, they are not deprecated or worse than their semantic cousins with the same usual screen presentation, they are different. If you want to say something strongly or with emphasis, use the appropriate element, but if you only want it to be bold or italic, again, use the appropriate element. Screen readers should not be told to read “Posted in carping VERTICAL BAR fifteen comments.”

And, yes, this time I did file a bug rather than just ranting.

57 Comments

Comment by Randy #
2005-11-19 11:47:18

I have never laughed out loud so many times while reading a blog than I have in the past 20 minutes while reading your blog.

You’re silly. I like that :)

 
Comment by Phil Ringnalda #
2005-11-22 21:06:32

Just a content-free comment because I need one from this post in the feed. Sorry, but apparently I’m silly, a description I don’t really remember being applied to me while I was sober in the last thirty-odd years.

 
2006-05-16 12:25:39

[…] Algunos van más allá y, aunque en la interfaz dicen claramente negrita, insertan en realidad elementos <STRONG>. Pues ésto tampoco tiene ningún sentido. ”Negrita” y ”resaltado” no son lo mismo. <STRONG> is not a better <B>. Para dar énfasis fuerte a algunas palabras se utiliza <strong>. <B> es puramente presentacional. Confundirlo puede dar lugar a errores gravísimos como el del enlace que he puesto anteriormente. […]

 

Sorry, the comment form is closed at this time.