View Single Post
Old 01-10-2023, 07:47 PM   #10
Tenome
Enthusiast
Tenome began at the beginning.
 
Posts: 49
Karma: 26
Join Date: Jan 2022
Device: none
Quote:
Originally Posted by KevinH View Post
If there is general interest and if anyone has ideas on how to or where to scrape tags to create title / descriptions for each entry in the loi.xhtml list.

Various possibilities include:
  • h1 on standalone image page
  • figcaption contents
  • img alt value
  • any h1 to h6 within the div or figure tag holding the image
  • title attribute on figure tag
  • something else?

I would be happy to create a plugin to do something like one or two of these.
Personally, since I started using SVG image wrappers with Aria assisted reading code, mine would be
<title id="svgtitle"></title>
<desc id="svgdesc"></desc>.

but I think if you just allow for customization it'll work out.

I don't know how many people would use the plugin, but I do know at least that standardebooks.org utilizes loi.xhtml (you can see an example of how they handle images here) and they make a lot of epubs, so it would be used pretty often I think if they know about it.
Tenome is offline