.
On a list, we got into a discussion of how to render italics and bold. I said that my understanding was that the new forms <em> and <b> are supposed to be more 'flexible'. A list-sib questioned that; as she said, "Italics is italics and bold is bold; how can they be more flexible?"
My response was --
"Sorry, when I said 'flexible', I meant "more flexible for the internal development of new programs". Or something like that. I read an explanation but, between the explanation trying to put programming ideas into "civilian" language, and me not being all that interested anyway, my grasp is shaky, indeed. Like, I simply don't understand why programming with <em> is more useful / flexible / program-compliant / whatever then programming with <i>. And, even if the programmers are using <em>, I don't see why they plan to phase out <i>; they should be able to co-exist. (Personally, I think computer programmers are constitutionally incapable of seeing the easy way to anything.)"
But then I did a little Googling, to make sure my half-formed ideas were at least close to correct, and to better explain what is going on with these changes.
"Okay, I just found this online: "EM is used to indicate emphasized text. While it is often rendered identical to I, italics, using EM rather than I is preferred. It allows the browser to distinguish between emphasized text and other text which can be drawn in italics (for example titles)."
So that makes sense to me, and I hope I can remember it. If people are using screen readers, and you want to convey auditory "weight", you'd use <em>, but <i> for visually distinguishing things that don't need a voice change. Like:
"Oh, man, this'll be <em>
great</em>!" Blair said as he read the announcement in the <i>
Journal of Modern Anthropology</i>.
Of course, the chances that anyone will be using a screen reader to access our particular stories are probably slight; it's up the individual whether they want to make the switch or not. (At least for a few years...)
Similarly with bold. <strong> is "strongly emphasized" text (I think of a shout), where <b> is a bold look without the sound -- section headings, for instance. They won't LOOK different to the visual reader, but will sound different when accessed via screen reader.
So maybe <i> and <b> aren't going to be phased out ("deprecated") as was my impression. But then another article I found online is talking about whether or not deprecation is a good idea. (I think; they lost me after the first paragraph.)
Me... I expect my phone to receive calls, my camera to take pictures, and my computer to allow me email; I do not WANT a thing that does all three, thankyouverymuch. All I can do is shrug, smile sweetly (or grumpily, as the mood strikes), and try to balance current developments with my personal comfort. If <em> will make my story more accessible to a screen reader user somewhere down the line, I can handle that.
Although that leaves me wondering about the use of italics for thoughts. We can read that visually as internal, but if a screen reader is using an <em>phasized voice, that kind of detracts from the mood we're trying to set up. I wonder if anyone's thought of a <whi> tag, for a quieter, whispery voice...
So, there you go; "you pays your money and you makes your choice". But at least now, you have some idea whether or not you want to use <em> instead of <i>, or <strong> instead of <b>.
Happy coding.
.