Skip to content

Commit 8ffa219

Browse files
authored
Merge pull request jupyter#441 from palewire/accessibility-meta
Accessibility meta fixes
2 parents b79ddd4 + c306e8f commit 8ffa219

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

_includes/documentation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="col-lg-4 col-md-6 col-sm-6 cardlist-col">
77
<div class="cardlist-card doc-card">
88
<div class="card-heading">
9-
<h4>{{card[0]}}</h4>
9+
<h2>{{card[0]}}</h2>
1010
</div>
1111
<div class="card-body">
1212
<ul>

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
{% include head.html %}
55

_layouts/page_md.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="post">
55
<header class="post-header header header-grey">
66
{% if page.title_image %}
7-
<img src="{{ page.title_image }}" class="title_image" />
7+
<img src="{{ page.title_image }}" class="title_image" {% if page.title_image_alt %}alt="{{ page.title_image_alt }}"{% endif %} />
88
{% else %}
99
<h2>{{ page.title }}</h2>
1010
{% endif %}

css/cardlist.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
border-top-right-radius: 2px;
2828
}
2929

30-
.card-heading h4 {
30+
.card-heading h2 {
31+
line-height: 1.22;
3132
font-size: 1.6em;
3233
}
3334

events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This page is for in person, one-of-a-kind events, for community engagement, see
1313

1414
This is a calendar of regular online events. It might not be exhaustive.
1515

16-
<iframe id="calendariframe" src="https://calendar.google.com/calendar/embed?height=600&amp;wkst=1&amp;bgcolor=%23ffffff&amp;ctz=local&amp;src=ZGdwZDM2ZjQzZXQ5Z3JhYm42dGRpbjZwbWNAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;src=bTNoZWs2OWRhZzczODF1bXQ4a2NqZDc1dTRAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;src=YXFwa3VpNXE3b2kzMnBrOXRjcDUzaG5zc2NAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;src=ZDE4NzR1cjZmZGh1ajBzbmpuaWxhYzJubGNAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;src=cGlhaGluZWpqcjZzc3ZpOGlrbWpqb3A2cm9AZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;color=%23AD1457&amp;color=%23EF6C00&amp;color=%23616161&amp;color=%23F6BF26&amp;color=%239E69AF" style="border:solid 1px #777" width="800" height="600" frameborder="0" scrolling="no"></iframe>
16+
<iframe title="Calendar of Project Jupyter events" id="calendariframe" src="https://calendar.google.com/calendar/embed?height=600&amp;wkst=1&amp;bgcolor=%23ffffff&amp;ctz=local&amp;src=ZGdwZDM2ZjQzZXQ5Z3JhYm42dGRpbjZwbWNAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;src=bTNoZWs2OWRhZzczODF1bXQ4a2NqZDc1dTRAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;src=YXFwa3VpNXE3b2kzMnBrOXRjcDUzaG5zc2NAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;src=ZDE4NzR1cjZmZGh1ajBzbmpuaWxhYzJubGNAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;src=cGlhaGluZWpqcjZzc3ZpOGlrbWpqb3A2cm9AZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&amp;color=%23AD1457&amp;color=%23EF6C00&amp;color=%23616161&amp;color=%23F6BF26&amp;color=%239E69AF" style="border:solid 1px #777" width="800" height="600" frameborder="0" scrolling="no"></iframe>
1717
<script>document.getElementById("calendariframe").src = document.getElementById("calendariframe").src.replace("ctz=local", "ctz=" + Intl.DateTimeFormat().resolvedOptions().timeZone)</script>
1818

1919
See [this page](https://jupyter.readthedocs.io/en/latest/community/content-community.html#jupyter-wide-meetings) for

hub.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: page_md
33
title: JupyterHub
44
title_image: assets/hublogo.svg
5+
title_image_alt: JupyterHub logo
56
tagline: A multi-user version of the notebook designed for companies, classrooms and research labs
67
navbar_jupytercon: true
78
cfp: true

0 commit comments

Comments
 (0)