diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-02-03 17:35:25 -0600 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-02-03 17:35:25 -0600 |
commit | 2aae94ba77c3dd812a4eb645241c648440fc493e (patch) | |
tree | 6bebf20771fe823477656f19e646bab453f4a82f /templates/page.html | |
parent | 591370bc5b159053959fa946c8e52e5e56604abf (diff) | |
download | cleberg.net-2aae94ba77c3dd812a4eb645241c648440fc493e.tar.gz cleberg.net-2aae94ba77c3dd812a4eb645241c648440fc493e.tar.bz2 cleberg.net-2aae94ba77c3dd812a4eb645241c648440fc493e.zip |
add accessibility features
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 4 |
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 %} |