From 6c678607dfd46059e946fe7ca0ec9cdf3e1eb949 Mon Sep 17 00:00:00 2001 From: milde Date: Fri, 25 Jun 2021 20:58:55 +0000 Subject: HTML5: ARIA roles for citations and citation-references. Use
with DPub ARIA role "doc-biblioentry" for citations. Wrapping citations in a list (required for elements with role "doc-biblioentry"). Use role "doc-biblioref" for citation-references. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8779 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- .../test/functional/expected/footnotes_html5.html | 26 ++++++++++++---------- .../functional/expected/standalone_rst_html5.html | 10 +++++---- docutils/test/functional/input/footnotes.txt | 2 +- 3 files changed, 21 insertions(+), 17 deletions(-) (limited to 'docutils/test') diff --git a/docutils/test/functional/expected/footnotes_html5.html b/docutils/test/functional/expected/footnotes_html5.html index a574cf960..3bf40ba73 100644 --- a/docutils/test/functional/expected/footnotes_html5.html +++ b/docutils/test/functional/expected/footnotes_html5.html @@ -13,7 +13,7 @@

Test footnote and citation rendering

Paragraphs may contain footnote references (manually numbered[1], anonymous auto-numbered[3], labeled auto-numbered[2], or -symbolic[*]) or citation references ([CIT2002], [DU2015]).

+symbolic[*]) or citation references ([CIT2002], [DU2015]).

+
[DU2015]

Example document, Hometown: 2015.

- -

Here's a reference to the above, [CIT2002].

+
+ +

Here's a reference to the above, [CIT2002].

-

Footnotes may contain block elements like lists[7][6], -admonitions[8], or tables[9].

+

Footnotes may contain block elements like lists[6][7][8], +admonitions[9], or tables[10].