improve accessibility and add search form

This commit is contained in:
Pat Dryburgh
2018-10-24 18:22:21 -07:00
parent dd7275c4c0
commit a2cf0cef48
11 changed files with 48 additions and 9 deletions

View File

@ -31,6 +31,10 @@
{{ content }}
{% unless site.hide_search %}
{% include search.html %}
{% endunless %}
{% include menu.html %}
{% unless site.hide_credits %}

View File

@ -22,7 +22,7 @@ layout: default
</header>
{% endif %}
<main class="home" aria-label="Content" id="main">
<main class="home" id="main" role="main" aria-label="Content">
<h1 class="content-title divided">
{% if site.paginate and site.paginate_path and paginator.page > 1 %}

View File

@ -8,7 +8,7 @@ layout: default
{% include back-link.html %}
{% endif %}
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting" id="main">
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting" id="main" role="article" aria-label="Content">
{% if page.title != "" %}
<h1 class="post-title divided p-name" itemprop="name headline">