0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 00:20:26 +03:00

feat(html): Adding roles to the standard HTML

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2018-12-07 01:28:12 +04:00
parent 1cead691ca
commit ad75962731
2 changed files with 11 additions and 4 deletions

View File

@ -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>