Quote:
Originally Posted by philja
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.