Skip to content

Commit

Permalink
Improve accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jovana committed Jan 12, 2024
1 parent 86604f5 commit 7758071
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ckanext/kepa/templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

</div>
<div class="address">
<img src="/republic-kosovo.png" />
<img src="/republic-kosovo.png" title="Flag of Republic of Kosovo" alt="Flag of Republic of Kosovo">
<span>
{{_('Republika e Kosovës')}} <br>
{{_('Republika Kosova - Republic of Kosovo')}}<br>
Expand Down
4 changes: 2 additions & 2 deletions ckanext/kepa/templates/home/layout3.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div role="main" class="hero">
<div role="main" class="hero" aria-label="Prishtina">
<div class="container">
{% block search %}
{% snippet 'home/snippets/search.html', search_facets=search_facets %}
Expand All @@ -7,7 +7,7 @@
</div>
<div role="main" class="hero-placeholder">
<div class="container">
<img src="kepa-placeholder-img.png" />
<img src="kepa-placeholder-img.png" title="Ilustration Computer with Graph - Placeholder" title="Ilustration Computer with Graph - Placeholder"/>
{% trans %}
<h4>Kosovo's data portal for increased innovation</h4>
<p>
Expand Down
2 changes: 1 addition & 1 deletion ckanext/kepa/templates/home/snippets/promoted.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1 class="page-heading">{{ _("Welcome to CKAN") }}</h1>
<h2 class="media-heading">{% block home_image_caption %}{{ _("This is a featured section") }}{% endblock %}</h2>
{% block home_image_content %}
<a class="media-image" href="#">
<img class="img-fluid" src="{{ h.url_for_static('/base/images/placeholder-420x220.png') }}" alt="Placeholder" />
<img class="img-fluid" src="{{ h.url_for_static('/base/images/placeholder-420x220.png') }}" alt="Placeholder Image" title="Placeholder Image"/>
</a>
{% endblock %}
</section>
Expand Down

0 comments on commit 7758071

Please sign in to comment.