View Single Post
Old 06-23-2025, 02:02 PM   #68
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,741
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
Is your Accessibility Checker plugin happy with either or both?
I only tested the attached version which passes EPUBCheck (except for the backlink usage message) and ACE 1.3.7.
Spoiler:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en-US" xml:lang="en-US">
<head>
  <title>footnote example</title>
</head>

<body>
  <h1 epub:type="subtitle" role="doc-subtitle">Footnote sample</h1>

  <p>This is a reference to the first footnote<a epub:type="noteref" role="doc-noteref" href="#note1" id="ref1">1</a>.</p>

  <p>And this is a reference to the second footnote.<a epub:type="noteref" role="doc-noteref" href="#note2" id="ref2">2</a></p>

  <section aria-label="Footnotes">
    <aside id="note1" epub:type="footnote" role="doc-footnote">
      First footnote. <a epub:type="backlink" role="doc-backlink" href="#ref1" aria-label="Back to footnote reference 1"> <span aria-hidden="true">↩</span> </a>
    </aside>

    <aside id="note2" epub:type="footnote" role="doc-footnote">
      Second footnote. <a epub:type="backlink" role="doc-backlink" href="#ref2" aria-label="Back to footnote reference 2"> <span aria-hidden="true">↩</span> </a>
    </aside>
  </section>
</body>
</html>


BTW, ACE now wants a language attribute on the <package> tag.

<package version="3.0" unique-identifier="BookId" xml:lang="en-US" xmlns="http://www.idpf.org/2007/opf">

It'd be helpful if Sigil added one for new epub3 books.
Attached Files
File Type: epub backlink2.epub (2.9 KB, 17 views)
Doitsu is offline   Reply With Quote