Skip to content

Commit

Permalink
fix screen reader explanation for changes tab
Browse files Browse the repository at this point in the history
  • Loading branch information
kouralex committed Sep 15, 2020
1 parent 96e4276 commit c0f9976
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions view/changes.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
<li id="groups"><a href="{{ request.vocabid }}/{{ request.lang }}/groups{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Group-nav" %}</a></li>
{% endif %}
{% if vocab.config.showChangeList %}
<h3 class="sr-only">{% trans "Assort vocabulary concepts by most recent changes" %}</h3>
<h3 class="sr-only">{% trans "Assort vocabulary concepts by newest additions" %}</h3>
<li id="changes" class="active"><a href="{{ request.vocabid }}/{{ request.lang }}/new{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Changes-nav" %}</a></li>
{% endif %}
</ul>
</div>
<h4 class="sr-only">{% trans "Listing vocabulary concepts by most recents changes" %}</h4>
<h4 class="sr-only">{% trans "Listing vocabulary concepts by newest additions" %}</h4>
<div class="sidebar-grey">
<div class="group-container">
<ul class="change-list side-navi">
Expand Down
2 changes: 1 addition & 1 deletion view/group-contents.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<li id="groups"{% if search_results|first.isGroup %} class="active"{% endif %}><a href="{{ request.vocabid }}/{{ request.lang }}/groups{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Group-nav" %}</a></li>
{% endif %}
{% if vocab.config.showChangeList %}
<h3 class="sr-only">{% trans "Assort vocabulary concepts by most recent changes" %}</h3>
<h3 class="sr-only">{% trans "Assort vocabulary concepts by newest additions" %}</h3>
<li id="changes"><a href="{{ request.vocabid }}/{{ request.lang }}/new{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Changes-nav" %}</a></li>
{% endif %}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion view/group-index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<li id="groups" class="active"><a href="{{ request.vocabid }}/{{ request.lang }}/groups{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Group-nav" %}</a></li>
{% endif %}
{% if vocab.config.showChangeList %}
<h3 class="sr-only">{% trans "Assort vocabulary concepts by most recent changes" %}</h3>
<h3 class="sr-only">{% trans "Assort vocabulary concepts by newest additions" %}</h3>
<li id="changes"><a href="{{ request.vocabid }}/{{ request.lang }}/new{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Changes-nav" %}</a></li>
{% endif %}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion view/light.twig
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<li id="groups"><a href="{{ request.vocabid }}/{{ request.lang }}/groups{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Group-nav" %}</a></li>
{% endif %}
{% if vocab.config.showChangeList %}
<h3 class="sr-only">{% trans "Assort vocabulary concepts by most recent changes" %}</h3>
<h3 class="sr-only">{% trans "Assort vocabulary concepts by newest additions" %}</h3>
<li id="changes"><a href="{{ request.vocabid }}/{{ request.lang }}/new{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Changes-nav" %}</a></li>
{% endif %}
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion view/vocab.twig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<li id="groups"><a href="{{ request.vocabid }}/{{ request.lang }}/groups{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Group-nav" %}</a></li>
{% endif %}
{% if vocab.config.showChangeList %}
<h3 class="sr-only">{% trans "Assort vocabulary concepts by most recent changes" %}</h3>
<h3 class="sr-only">{% trans "Assort vocabulary concepts by newest additions" %}</h3>
<li id="changes"><a href="{{ request.vocabid }}/{{ request.lang }}/new{% if request.contentLang != request.lang %}?clang={{ request.contentLang }}{% endif %}">{% trans "Changes-nav" %}</a></li>
{% endif %}
</ul>
Expand Down

0 comments on commit c0f9976

Please sign in to comment.