feat(html): Adding roles to the standard HTML
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
1cead691ca
commit
ad75962731
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user