Skip to main content
Eshu153
Inspiring
February 24, 2025
Question

InDesign EPUB export using new tags

  • February 24, 2025
  • 2 replies
  • 338 views

Hi,

 

I have been developing EPUBs using Indesign. But, recently I see, InDesign export using Section, figure tags instead div in certain places like images, footnotes.

 

<section class="_idFootnotes" role="doc-endnotes">

 

These are not recognized by Sigil epub component and giving validation errors. I tried with both Indesign 2025 and 2024. Both are exporting the same. This is something new compared to last versions.

 

Did anyone faced the same issue? Is it possible to export without these Section and figure classes?

 

Best Regards,

Eswari

2 replies

Inspiring
February 24, 2025

Hello Eswari. In this case, this is a Sigil error. If you have the wherewithal, you could log a bug on the Sigil developer's GithubHaving the footnotes in a <section> tag is the semantically correct way to mark that up; this change is not an error in the least. All of the changes in this regard are explicitly to boost the accessibility of InDesign's EPUB export. You can read more about that work here: https://inclusivepublishing.org/news-and-events/news/indesign-2025-is-out/ 
There is no way to turn it off, I'm afraid. 

Eshu153
Eshu153Author
Inspiring
February 24, 2025

But this happens with 2024 version also. that doesn't make any sense. Anyhow, will replace the section tags with div and remove roles.

 

Thanks for the response.

 

Best regards,

Eswari

 

 

Inspiring
February 24, 2025

The change happened several ID versions ago. You don't have to replace with <div>s if you can plug your nose and ignore the Sigil error. The more salient check is in EPUB Checker, which all vendors around the world use. It's much more important that it pass there, than Sigil's outdated validator. 

Eshu153
Eshu153Author
Inspiring
February 24, 2025

these are the validation errors which are caused by these new sections and figures.

 

Error schema not satisfied : element 'section' is not allowed for content model '(p|h1|h2|h3|h4|h5|h6|div|ul|ol|dl|pre|hr|blockquote|address|fieldset|table|switch|form|a|br|span|bdo|map|object|img|svg|tt|i|b|big|small|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym|sub|sup|input|select|textarea|label|button|noscript|ins|del|script)' near column 9