Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 8322ee2

Browse files
authored
Merge pull request #1222 from ascholerChemeketa/accessibility_fixes
Accessibility fixes
2 parents 97321f0 + 61e6f4f commit 8322ee2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/layout.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
<div class="navbar-header">
3434
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
35-
<button type='button' class='navbar-toggle' data-toggle="collapse" data-target=".navbar-ex1-collapse">
36-
<span class="icon-bar" aria-label="navbar toggle">toggle navbar</span>
35+
<button type='button' class='navbar-toggle' data-toggle="collapse" data-target=".navbar-ex1-collapse" aria-label="navbar toggle">
36+
<span class="icon-bar"></span>
3737
<span class="icon-bar"></span>
3838
<span class="icon-bar"></span>
3939
</button>
@@ -307,8 +307,8 @@
307307

308308
{% block body %}
309309
{% endblock %}
310-
<div id=scprogresscontainer>
311-
You have attempted <span id=scprogresstotal></span> of <span id=scprogressposs></span> activities on this page <div id="subchapterprogress"></div>
310+
<div id="scprogresscontainer">
311+
You have attempted <span id="scprogresstotal"></span> of <span id="scprogressposs"></span> activities on this page <div id="subchapterprogress" aria-label="Page progress"></div>
312312
</div>
313313
{% block nextprevious %}
314314
{% include "subchapter.html" %}

runestone/common/project_template/conf.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ version = '0.0.1'
6161
release = '0.0'
6262

6363
# The language for content autogenerated by Sphinx. Refer to documentation
64-
# for a list of supported languages.
65-
#language = None
64+
# for a list of supported languages. https://www.sphinx-doc.org/en/master/usage/configuration.html
65+
language = "en"
6666

6767
# There are two options for replacing |today|: either, you set today to some
6868
# non-false value, then it is used:

0 commit comments

Comments
 (0)