aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2024-02-03 17:35:25 -0600
committerChristian Cleberg <[email protected]>2024-02-03 17:35:25 -0600
commit261f4223e1b9b51d7c27652cec3e3b574599c664 (patch)
tree6bebf20771fe823477656f19e646bab453f4a82f /templates/page.html
parent1a922a7fd523edf49c945fa3befb4ec28340e180 (diff)
downloadcleberg.net-261f4223e1b9b51d7c27652cec3e3b574599c664.tar.gz
cleberg.net-261f4223e1b9b51d7c27652cec3e3b574599c664.tar.bz2
cleberg.net-261f4223e1b9b51d7c27652cec3e3b574599c664.zip
add accessibility features
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index b759184..c44e8a0 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -16,7 +16,7 @@
{% if page.toc %}
<details open>
<summary>Table of Contents</summary>
- <nav class="page-nav">
+ <nav class="page-nav" aria-label="page-nav" role="navigation">
<ul>
{% for h1 in page.toc %}
<li>
@@ -38,5 +38,7 @@
{% endif %}
</section>
+<article role="article">
{{ page.content | safe }}
+</article>
{% endblock content %}