missing alt attribute not detected or fixed
Bug #1597868 reported by
Aaron Shepard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
In Edit Book, the Check Book function does not detect or fix missing alt attributes in img tags. (Missing alt attributes are flagged as an error by epubcheck.) To fix this, calibre only needs to add an empty alt attribute like so:
alt=""
Running calibre 2.59 on Mac OS X El Capitan. I'm inputting files produced by the Kindle Comic Creator, which omits the attribute. I realize I can add the attribute in Edit Book with Find and Replace, but it would be much more convenient to have it included in the Check Book function, which should be finding it anyway.
To post a comment you must log in.
Check Book does not perform schema checks, which is what checking for
missing attributes is. Schema checks are useless. The only
piece of software on the *planet* that cares that <img> tags have alt
attributes is a schema checker, in this case epubcheck. No actual book
reading software will give two hoots about whether an <img> tag has a
missing alt attribute or an empty alt attribute.
Schema checking is a waste of everyone's time and energy and I have no
interest in helping perpetuate it.
status wontfix