aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default.html5
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-02-02 16:20:19 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-02 16:20:19 -0800
commitd50cb029fdd3555d5f14e6eee15411d6704ad96e (patch)
tree3f46b5d426580790840c8ce3459807465180d4e3 /data/templates/default.html5
parentb74267406bdf0152980b830e7accd1f9b49a77f2 (diff)
downloadpandoc-d50cb029fdd3555d5f14e6eee15411d6704ad96e.tar.gz
HTML5 template: Add role with ARIA doc-toc for table of contents.
See #4213.
Diffstat (limited to 'data/templates/default.html5')
-rw-r--r--data/templates/default.html52
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.html5 b/data/templates/default.html5
index 1d7bef4c7..9816fcf9f 100644
--- a/data/templates/default.html5
+++ b/data/templates/default.html5
@@ -60,7 +60,7 @@ $endif$
</header>
$endif$
$if(toc)$
-<nav id="$idprefix$TOC">
+<nav id="$idprefix$TOC" role="doc-toc">
$table-of-contents$
</nav>
$endif$