Quote:
Originally Posted by Turtle91
True - as the thread linked by Tex mentions, there are many reasons why you might want <em> instead of <i>.
[...]
So… if you only need a visual italic (like in a list of references) then <i> works fine. But if it is supposed to mean something then you want the semantically correct <em>.
|
Yes.
So, <i> and <em> for example:
Code:
<p>In <i>Example Book Title</i>, I stated: “We will <em>never</em> give in to their demands.”</p>
- <i> = Visually italics.
- Like a book title or name of a newspaper.
- <em> = Words that are actually emphasis.
- You're speaking the word "never" differently.
Then take <b> for example. I was just working on a book with an interview:
Code:
<p><b>Person A:</b> This is a question?</p>
<p><b>Person B:</b> This is an answer.</p>
<p><b>A:</b> Next question?</p>
The "person speaking" is definitely not <strong>, because it's not super important (or emphasized) or anything... it's just a visual decision.
So some books might even use <i> there instead:
Code:
<p><i>Person A:</i> This is a question?</p>
Anyway, you can read through the 2 big threads for a ton more details and examples.
Complete Side Note: On more easily marking up <i> vs. <em>... there's still the "Italics Lists" idea (which I wrote about a few months ago in
"What Features or Tools does Sigil Still Need Yet?" (Post #163)).
If you had a nice, searchable/sortable list of all italics in the book, then you could easily mark which ones should go from <i> -> <em> or <em> -> <i>.
It would be the perfect mashup of Spellcheck Lists + Diap's Toolbag.
Quote:
Originally Posted by Turtle91
Sorry, I thought I had linked to the Accessibility Publishing Database website in my previous post. Here it is for anyone who cares.
They have a nice explanation on what the differences are between i/b/em/strong and when each should be used...they also talk about the html5 specs briefly.
|
Thanks for the link.
Quote:
Originally Posted by phillipgessert
I think in that scenario, it might make some sense to instead use a span for an icon like that. While <i> "only" means italics, it also does specifically mean that. Whereas <span> means basically nothing in particular, so no strong argument against using it for an icon that I can think of.
|
Exactly.
Quote:
Originally Posted by Hitch
FWIW, vis: everybody "does their own thing," we had a book that passed 3 different international standard accessibility checks, right?
But did it pass this one college's? Noooooooooooooooooooo, it didn't. I forget now what it was, that they were all up in the high hairy eyeball about,but we had to add something that made NO sense, to pass their internal "accessibility check." It took myriad passes with this custom-designed, in-house tool.
You cannot assume that using Standard A will mean that everybody and their brother will sign off on those particular sets of standards.
|
I'd like to hear more details on this no-sense nonsense!