summaryrefslogtreecommitdiffstatshomepage
path: root/templates
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-07-15 10:59:52 +0200
committerWynn Wolf Arbor2020-07-15 10:59:52 +0200
commit044fe1e03d2c3ec6cc0e430250cea9ed20f0d0a2 (patch)
tree342629a0ad4f7451533314fca3eb35adc3a6d457 /templates
parent3970744f9fba676d1a6253cae652941a804c9dfe (diff)
downloadsite-044fe1e03d2c3ec6cc0e430250cea9ed20f0d0a2.tar.gz
Wrap article titles in <h1> for the index page
This should make it easier for screen readers to build a page outline and is recommended [1] by W3C. [1] https://www.w3.org/wiki/HTML/Usage/Headings/Missing
Diffstat (limited to 'templates')
-rw-r--r--templates/index.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.xml b/templates/index.xml
index c9197c0..6ae13e4 100644
--- a/templates/index.xml
+++ b/templates/index.xml
@@ -42,7 +42,7 @@
<nav data-sblg-nav="true" data-sblg-navcontent="true">
<article>
<time>${sblg-date}</time>
- <a href="${sblg-base}">${sblg-titletext}</a>
+ <h1><a href="${sblg-base}">${sblg-titletext}</a></h1>
</article>
</nav>
</main>