![]() |
#1 |
Imperfect Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 621
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
|
There's a new sheriff in town …
Amongst the features of epub 3 is a possibility to insert accessibility tags to make the files more accessible for reading tools for handicapped. The possibility in 3.0 gets somewhat enforced in epub 3.1. No-one here at MobileRead seems to care much, and most of the ebooks I find "in the wild", that calls themselves epub 3 doesn't either. The only epub-creator tool giving the possibility to insert such tags (at least some of them) I have found are Jutoh.
But now there seems to be a new sheriff in town, so to speak, since the DAISY consortium are making an "accessibility checker" on the lines of epubchecker (https://daisy.github.io/ace/), that are now in the release candidate stadium. I guess that the ebook-distributors will demand new epubs to pass this as well as epubcheck in some not-too-distant future. Since we're producing solely epub 3-books here nowadays, we've reprogrammed our in-house tools to cather for this, but - are there any available tools except for Jutoh, that do this kind of thing? Also, I've prepared an epub 3, that passes most of the ACE-tests. (It's a sample of an edition of a Maupassant short-story collection (in danish), and sort-of copyrighted, but since I myself is the copyright holder, and it will be free to download from our site from next monday, I guess it's allowable.) Feel free to play around with it - comments are welcome, I don't think it's in any way perfect … 9788779795839-guy_de_maupassant-en_pariserborgers_sondagePROEVE.epub Regards, Kim |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,064
Karma: 144284144
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The problem is that most programs, apps, and Readers do not do ePub 3. iBooks does ePub 3. You should test these ePub with ADE 2.0.1to see how well or not they work and if they don't work well enough, then when they are sold, you'll need to specify that they require an ePub 3 compatible program.
There are so many ePub 3 (that should be ePub 2) that when an ePub that needs an ePub 3 reader comes along, people don't know and if they buy, they can end up with a book they cannot use or cannot use well enough. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Imperfect Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 621
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
|
Quote:
Regards Kim |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I would think that Sigil would not have any issues with those tags. You would have to do that by hand though, or perhaps someone can/will build a plugin for that.
|
![]() |
![]() |
![]() |
#5 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,064
Karma: 144284144
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So when you sell this ePub 3, you'll have to specify that it is a real ePub 3. And yes, Sigil should do what you want as previously said. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Imperfect Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 621
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
|
Quote:
At present Sigil doesn't do anything in the way of accessibility tagging. But on the other hand, it doesn't touch them in any way - destructive or not - either. (To clarify: We use Notetab scripting to produce the epub, and Sigil to polish and check it before publishing). Regards, Kim |
|
![]() |
![]() |
![]() |
#7 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
1. Add the following section to the .opf metadata section: Code:
<meta property="schema:accessibilitySummary">This publication conforms to WCAG 2.0 AA.</meta> <meta property="schema:accessMode">textual</meta> <meta property="schema:accessMode">visual</meta> <meta property="schema:accessModeSufficient">textual</meta> <meta property="schema:accessibilityFeature">structuralNavigation</meta 3. Add chapter titles to empty <title></title> tags. 4. Add descriptions to empty <img> tag alt attributes. 5. Add role attributes to all tags with epub:type attributes that have an ARIA role equivalent. Quote:
Quote:
Last edited by Doitsu; 01-26-2018 at 05:42 PM. |
|||
![]() |
![]() |
![]() |
#8 | ||
Imperfect Perfectionist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 621
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
|
Quote:
Quote:
![]() Regards, Kim |
||
![]() |
![]() |
![]() |
#9 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,467
Karma: 5703586
Join Date: Nov 2009
Device: many
|
So how could Sigil itself or a Sigil plugin help? Adding lang tags to every html tag in an automated manner seems easy to do. Adding a fixed set of metadata would be as well. Auto filling in title tags from the nav is also doable in an automated manner. A human would have to add the proper image alt tags.
Making it easier to mark tags with epub:type semantic info would be useful, I think. What else could Sigil do to make this easier? |
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Or something like this: Google’s Image Captioning AI Can Describe Photos with 94% Accuracy
|
![]() |
![]() |
![]() |
#11 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,467
Karma: 5703586
Join Date: Nov 2009
Device: many
|
BTW, these changes could easily be added to the ePub3-itizer plugin as well.
|
![]() |
![]() |
![]() |
#12 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,467
Karma: 5703586
Join Date: Nov 2009
Device: many
|
If it is opensource and accessible in python, we could make it an edit plugin in Sigil that checks each img tag for alt and if needed tries to get a good description.
Kevin Quote:
|
|
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,737
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
It runs under tensorflow, which pretty much wants everything to be in python, but they also talk about how fast it is with some fancy nvidia GPU, so it probably takes a lot longer without a GPU. I doubt you want tensorflow to be a sigil dependency, so you probably want to define a plain text format for a file of image descriptions that sigil can insert as alt tags in the epub.
|
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
1. Add lang and xml:lang language attributes to all <html> tags. 2. Add NCX heading information to all blank <title> tags. 3. Add blank alt attributes to all <img> tags without alt attributes. (BTW, epubs without alt attributes will fail epubcheck.) 4. Add role attributes at least to the following default html template items: Code:
<nav role="doc-toc" epub:type="toc" id="toc"> <nav role="doc-pagelist" epub:type="page-list" id="page-list" hidden=""> <nav role="directory" epub:type="landmarks" id="landmarks" hidden=""> Code:
<meta property="schema:accessibilitySummary">This publication conforms to WCAG 2.0 AA.</meta> <meta property="schema:accessMode">textual</meta> <meta property="schema:accessMode">visual</meta> <meta property="schema:accessModeSufficient">textual</meta> <meta property="schema:accessibilityFeature">structuralNavigation</meta> AFAIK, the framework is opensource, but the training data isn't. And without the training data the framework probably isn't that useful. Last edited by Doitsu; 01-27-2018 at 05:49 AM. |
|
![]() |
![]() |
![]() |
#15 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,353
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Could we make it a choice via the plugin's json file? Making epubs accessibility compliant is a noble endeavor, but i don't really want to add all of that for my own personal library (which I tend to convert to epub3 via the plugin).
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Science Fiction Doctorow, Cory: Someone Comes to Town, Someone Leaves Town v1.0 2007-11-29 | JSWolf | Kindle Books | 3 | 02-21-2018 10:35 AM |
Free (Kindle) Town Without Law by John Russell Fearn [Vintage Town Siege Western] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 3 | 06-30-2017 06:16 PM |
Free (Kindle) The Sheriff of Elk Ridge by Mason Macrae [Town Water Shortage Western] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 05-17-2017 11:07 AM |
Science Fiction Doctorow, Cory: Someone Comes to Town, Someone Leaves Town v2.0 2007-12-19 | JSWolf | IMP Books | 1 | 12-19-2007 09:35 AM |
Science Fiction Doctorow, Cory: Someone Comes to Town, Someone Leaves Town v1.0 2007-11-29 | JSWolf | BBeB/LRF Books | 5 | 11-30-2007 08:38 PM |