View Single Post
Old 08-04-2023, 08:22 PM   #14
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Turtle91 View Post
I think he is referring to the title in the head. If so, then there is another plugin (Access-Aide Accessibility Helper) that will automatically add the title based on the (first?) header tag <h1-6>.
Yep, that's probably the best/fastest way to mass add <title>s to your ebooks now.

One of the functions can look for the first heading, then auto-insert that text into the <title> for you.

WAY WAY easier/faster than it used to be.

Quote:
Originally Posted by Karellen View Post
What should be in there?
In the early days I read somewhere it should be the book title. But now your comments sounds like it shouldn't be.
We covered <title> in ebooks (and web pages) multiple times over the years.

It can be blank:

Code:
<title></title>
it should NEVER have this bogus auto-generated junk:

Code:
<title>converted_file1.xhtml</title>
and, ultimately, it would have useful, human-readable information:

Code:
<title>Chapter 1: The Beginning</title>

[...]

<title>“The Ultimate Poem” by Tex</title>
For more information on what good <title>s should say + strategies for naming <title>s + where they might appear, see:

for more info about <title> in ebooks, see my discussion in:

and all those relevant pages/links I linked to for more technical details.

- - -

Side Note: I wasn't aware any ereaders that actually displayed the <title> stuff yet, but it's good to see it might finally be rolling out + changing since 2016/2018ish.

(I always included it as best practices... because many users, like those using Screen Readers [or reading ebooks in their browsers], could see this info in the tabs or could have it read out loud... just like if they were reading a page on a website!)

Side Note #2: So many tools, like InDesign, automatically insert filenames inside the <title>. This is horrible, and WORSE THAN NOTHING/BLANK.

Just like shoving filenames inside of alt tags is an atrocious idea:

Code:
<img alt="Image01.jpg" src="../Images/Image01.jpg"/>
better to have alt be completely blank:

Code:
<img alt="" src="../Images/Image01.jpg"/>
or, the best—and what you should aim for—is to have useful alt + human-readable filenames!

Code:
<img alt="The Mona Lisa (1503) by Leonardo da Vinci" src="../Images/Mona.Lisa.jpg"/>
For more info, see:

Many of those best practices + similar reasons for alt tags applies to <title>s too.

It's not anything you can see with your own eyes, on the surface, but once you begin interacting with ebooks in different ways (like Text-to-Speech), this "hidden layer" becomes much more important.

Last edited by Tex2002ans; 08-04-2023 at 08:54 PM.
Tex2002ans is offline   Reply With Quote