Commit 261f4223e1

261f4223e1b9b51d7c27652cec3e3b574599c664

parent: 1a922a7fd5

Unsigned

cmc <hello@cleberg.net> · 2024-02-03 23:35 UTC

add accessibility features

Layout: unified · split

templates/base.html +1 −1
@@ -26,7 +26,7 @@
2626 {% block extra_head %}{% endblock extra_head %}
2727</head>
2828<body>
29 <nav class="site-nav">
29 <nav class="site-nav" aria-label="site-nav" role="navigation">
3030 <ul>
3131 <li><a href="/">Home</a></li>
3232 <li><a href="/blog/">Blog</a></li>
templates/page.html +3 −1
@@ -16,7 +16,7 @@
1616{% if page.toc %}
1717 <details open>
1818 <summary>Table of Contents</summary>
19 <nav class="page-nav">
19 <nav class="page-nav" aria-label="page-nav" role="navigation">
2020 <ul>
2121 {% for h1 in page.toc %}
2222 <li>
@@ -38,5 +38,7 @@
3838{% endif %}
3939</section>
4040
41<article role="article">
4142{{ page.content | safe }}
43</article>
4244{% endblock content %}