ePub Error – element “img” missing required attribute “alt”

March 6, 2014 ePub Files 0

Yes another ePUB Error

element "img" missing required attribute "alt"

This error is caused by the images in your document not having ALT tags.

You can fix this error in 2 ways:

Option 1

Open your document in MS  Word and click on each of the images.  Select Format Image (see below).

Select the Web Tab and type in an ALT tag …. you can type in anything even image will work!

You now need to recreate the HTML document and continue to create a new epub file.

OR

Option 2

Open the document in Word.

Save the document as a Web Page, Filtered (*.htm, *.html) – see below.

Close the document.

Open the HTML document with Notepad.

Find  .jpg">

Replace All  –  .jpg" alt "XXXXX">