diff options
-rw-r--r-- | _layouts/page.html | 6 | ||||
-rw-r--r-- | _layouts/post.html | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/_layouts/page.html b/_layouts/page.html index c093f58..8a6ce79 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -6,11 +6,13 @@ layout: default <!-- Header --> <header> - <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> + <h1 aria-level="1" role="heading"> + {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} + </h1> </header> <!-- Content --> - <section> + <section role="article"> {{ content }} </section> diff --git a/_layouts/post.html b/_layouts/post.html index c093f58..6273958 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -6,12 +6,17 @@ layout: default <!-- Header --> <header> - <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> + <h1 aria-level="1" role="heading"> + {{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} + </h1> </header> <!-- Content --> - <section> + <section role="article"> {{ content }} </section> + <!-- Comments --> + {% include disqus.html %} + </article> |