View Single Post
Old 06-22-2025, 02:57 AM   #50
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,748
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by philja View Post
I've tried it out with a couple of footnotes inside a single set of <div> tags and with the id's in the <p> tags and EpubCheck lets it pass ok.

Would that violate any rules?
It doesn't violate any rules, but if I understand the specs correctly, they prefer <aside> tags, wrapped in <section> tags.
(The <aside> tags may contain other block level tags such as <p>.

E.g. something like this:

Code:
  <section aria-label="Footnotes">
    <aside id="note1" epub:type="footnote" role="doc-footnote">
      First footnote. <a epub:type="backlink" href="#ref1">↩</a>
    </aside>

    <aside id="note2" epub:type="footnote" role="doc-footnote">
      Second footnote. <a epub:type="backlink" href="#ref2">↩</a>
    </aside>
  </section>
or

Code:
  <section aria-labelledby="footnotes-heading">
    <h2 id="footnotes-heading">Footnotes</h2>

    <aside id="note1" epub:type="footnote" role="doc-footnote">
      First footnote. <a epub:type="backlink" href="#ref1">↩</a>
    </aside>

    <aside id="note2" epub:type="footnote" role="doc-footnote">
      Second footnote. <a epub:type="backlink" href="#ref2">↩</a>
    </aside>
  </section>
Also see this DAISY page fore more information on aria-label and aria-labelledby.

Last edited by Doitsu; 06-22-2025 at 03:02 AM.
Doitsu is offline   Reply With Quote