Skip to content

Commit 2704797

Browse files
committed
Remaining Accessibility issues
1 parent b0a6933 commit 2704797

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Diff for: _includes/sidebar_toc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="sidebar sticky" style="height:100%;">
22
<nav class="toc" markdown="1">
3-
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
3+
<header><h2 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h2></header>
44
* Auto generated table of contents
55
{:toc .toc__menu}
66
</nav>

Diff for: _includes/toc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<aside class="sidebar__right">
22
<nav class="toc" markdown="1">
3-
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
3+
<header><h2 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h2></header>
44
* Auto generated table of contents
55
{:toc .toc__menu}
66
</nav>

Diff for: _layouts/blog.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: archive
33
---
44

5-
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
5+
<h2 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h2>
66

77
{% for post in site.posts %}
88
{% include archive-single.html %}

Diff for: _layouts/single.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
{% if page.toc %}
4646
<aside class="sidebar__right">
4747
<nav class="toc">
48-
<header><h4 class="nav__title"><i class="fa fa-{{ page.toc_icon | default: 'file-text' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
48+
<header><h2 class="nav__title"><i class="fa fa-{{ page.toc_icon | default: 'file-text' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h2></header>
4949
{% include toc.html sanitize=true html=content h_min=2 h_max=3 class="toc__menu" %}
5050
</nav>
5151
</aside>

Diff for: _pages/authors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: CSL for authors. Learn how to find, install, use, and edit Citation
55
layout: single
66
redirect_from: /styles
77
---
8-
{% include toc %}
8+
{% include toc h_min=2 %}
99

1010
Are you using Citation Style Language-based software?
1111
Here we'll show how you can find and install the CSL citation styles you need, and give some tips for using CSL styles.

Diff for: _sass/minimal-mistakes/_navigation.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
a {
508508
display: block;
509509
padding: 0.5rem 1rem;
510-
color: $muted-text-color;
510+
color: $gray;
511511
font-size: $type-size-7;
512512
font-weight: bold;
513513
line-height: 1.5;

0 commit comments

Comments
 (0)