Quote:
Originally Posted by KevinH
BTW, these changes could easily be added to the ePub3-itizer plugin as well.
|
IMHO, it'd be a good idea to add the following items to the ePub3-itizer plugin:
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="">
5. Add the following boilerplate metadata section that should be applicable to most text-only reflowable epubs, as long as all <img> tags have alt attributes with image descriptions:
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>
(Users will, of course, need to customize these values, if their books contain a large number of images or other items that affect the accessibility of the ebook, e.g. MathML sections.)
Quote:
Originally Posted by KevinH
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.
|
AFAIK, the framework is opensource, but the training data isn't. And without the training data the framework probably isn't that useful.