4.9 Semantics and DPUB ARIA
Making Ebooks with InDesign: Module 4, Step 9
Making Ebooks with InDesign: Module 4, Step 8
InDesign to EPUB
Before reading this, you might want to read:
There are a number of things as pertains to language declarations that need to be cleaned up in an InDesign-exported EPUB.
As noted in an earlier video, get rid of these extra language declarations on every single piece of HTML. These are aren’t invalid but they are wrong and won’t help your content. In the school of clean, simple HTML is the best HTML, clean these out.
Move the language declaration up to the root HTML element. InDesign erroneously puts this on the <body> tag. This must be fixed. And it can be done globally with some ease.
Check in on your language shifts and make sure that they are code as you intend.
Finally, have a look at the OPF file. Because we have a tiny French language shift in this book, InDesign thinks this is a bilingual publication. The primary language is in fact English in this case, so I will delete the French declaration in the OPF.