Thread: <em> </em> Tags
View Single Post
Old 11-17-2017, 04:27 PM   #12
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 Toxaris View Post
A plugin that grabs the top header (either h1, h2 or h3) of the file and enter that in the title tag doesn't seem to difficult.
Yep, definitely sounds like something that would be helpful.

In the case of a Sigil-specific plugin, maybe it should prioritize grabbing the title attribute over the text itself. Example:

Code:
<h2 title="Chapter 2: The Cold Winter">Chapter 2</h2>
would appear as "<title>Chapter 2: The Cold Winter</title>"

And your basic:

Code:
<h2>Chapter 2</h2>
would appear as "<title>Chapter 2</title>"

Side Note: For extra info, here is the EPUB Accessibility Techniques section on <title>s.

Which leads to these three supplemental pages on WCAG2.0 (Web Content Accessibility Guidelines):

https://www.w3.org/TR/WCAG20-TECHS/html.html#H25
https://www.w3.org/WAI/WCAG20/quickr...chanisms-title
https://www.w3.org/TR/UNDERSTANDING-...sms-title.html

Quote:
Specific Benefits of Success Criterion 2.4.2:
  • This criterion benefits all users in allowing users to quickly and easily identify whether the information contained in the Web page is relevant to their needs.
  • People with visual disabilities will benefit from being able to differentiate content when multiple Web pages are open.
  • People with cognitive disabilities, limited short-term memory and reading disabilities also benefit from the ability to identify content by its title.
  • This criterion also benefits people with severe mobility impairments whose mode of operation relies on audio when navigating between Web pages.
Tex2002ans is offline   Reply With Quote