Skip to content

Commit b72d68e

Browse files
authored
Merge pull request creativecommons#822 from Dev-JoyA/accessibility-issues-identified-on-website
[Accessibility] Corrected accessibility issues found on website
2 parents 42a3e28 + 5546fcc commit b72d68e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

themes/vocabulary_theme/templates/layout.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<!doctype html>
2+
<html lang="en">
23
<meta charset="utf-8">
34
<meta name="viewport" content="width=device-width, initial-scale=1" />
45
<link rel="shortcut icon" type="image/x-icon" href="{{ '/static/favicon.ico'|url }}">
@@ -46,7 +47,7 @@
4647
<header class="container">
4748
<nav class="navbar">
4849
<div class="navbar-brand">
49-
<a class="has-text-black" href="{{ '/'|url }}">
50+
<a class="has-text-black" href="{{ '/'|url }}" aria-label="Home">
5051
<svg
5152
class="logo margin-top-small"
5253
xmlns="http://www.w3.org/2000/svg"
@@ -271,3 +272,4 @@ <h5>Our work relies on you!</h5>
271272
</div>
272273
</footer>
273274
</body>
275+
</html>

themes/vocabulary_theme/templates/macros/authors_gravatar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% if post.author|length >= 2 %}
99
<img class="profile" src="/multiple-authors.jpg" alt="multiple authors image"/>
1010
{% else %}
11-
<img class="profile" src="https://secure.gravatar.com/avatar/{{ current_author.md5_hashed_email }}?size=200&d=mp" alt="gravatar" />
11+
<img class="profile" src="https://secure.gravatar.com/avatar/{{ current_author.md5_hashed_email }}?size=200&d=mp" alt="author's gravatar" />
1212
{% endif %}
1313
</figure>
1414
</header>

0 commit comments

Comments
 (0)