Skip to content

Commit 70735d3

Browse files
committed
added a language description and an alt text for the logo image
1 parent daff93a commit 70735d3

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.hintrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": [
3+
"development"
4+
],
5+
"hints": {
6+
"meta-viewport": "off"
7+
}
8+
}

binderhub/templates/page.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
<html lang="en">
33
<!-- adding language description for accessibility -->
44
<head>
5+
<meta charset="utf-8">
56
<title>{% block title %}Binder{% endblock %}</title>
6-
{% block meta_social %}
7+
</head>{% block meta_social %}
78
{# Social media previews #}
89
<meta property="og:title" content="The Binder Project">
910
<meta property="og:image" content="https://mybinder.org/static/images/logo_social.png">
@@ -31,7 +32,7 @@
3132
<div class="container">
3233
<div class="row">
3334
<div id="logo-container">
34-
<img id="logo" src={% block logo_image %}"{{static_url("logo.svg")}}"{% endblock logo_image %} width="390px" />
35+
<img id="logo" src={% block logo_image %}"{{static_url("logo.svg")}}"{% endblock logo_image %} width="390px" alt="BinderHub's logo" />
3536
</div>
3637
</div>
3738
</div>

0 commit comments

Comments
 (0)