Skip to content

Commit ef499da

Browse files
committed
Make schedule accessible to screen readers
1 parent be775e7 commit ef499da

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

_includes/assignments.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -74,32 +74,32 @@
7474
<td>{{ assignment }}</td>
7575

7676
{% if reading_link %}
77-
<td align="center"><a href="{{ reading_link }}">
78-
<i class="fa fa-book fa-lg"></i></a></td>
77+
<td align="center"><a href="{{ reading_link }}" aria-label="Week {{ forloop.index }} Reading">
78+
<i aria-hidden="true" class="fa fa-book fa-lg" ></i></a></td>
7979
{% else %}
8080
<td align="center"><font color="f1f1f1">
8181
<i class="fa fa-book fa-lg"></i></font></td>
8282
{% endif %}
8383

8484
{% if lesson_link %}
85-
<td align="center"><a href="{{ lesson_link }}">
86-
<i class="fa fa-play-circle fa-lg"></i></a></td>
85+
<td align="center"><a href="{{ lesson_link }}" aria-label="Week {{ forloop.index }} Lesson">
86+
<i aria-hidden="true" class="fa fa-play-circle fa-lg"></i></a></td>
8787
{% else %}
8888
<td align="center"><font color="f1f1f1">
8989
<i class="fa fa-play-circle fa-lg"></i></font></td>
9090
{% endif %}
9191

9292
{% if lecture_link %}
93-
<td align="center"><a href="{{ lecture_link }}">
94-
<i class="fa fa-comment fa-lg"></i></a></td>
93+
<td align="center"><a href="{{ lecture_link }}" aria-label="Week {{ forloop.index }} Lecture Notes">
94+
<i aria-hidden="true" class="fa fa-comment fa-lg"></i></a></td>
9595
{% else %}
9696
<td align="center"><font color="f1f1f1">
9797
<i class="fa fa-comment fa-lg"></i></font></td>
9898
{% endif %}
9999

100100
{% if assignment_link %}
101-
<td align="center"><a href="{{ assignment_link }}">
102-
<i class="fa fa-keyboard-o fa-lg"></i></a></td>
101+
<td align="center"><a href="{{ assignment_link }}" aria-label="Week {{ forloop.index }} Assignment">
102+
<i aria-hidden="true" class="fa fa-keyboard-o fa-lg"></i></a></td>
103103
{% else %}
104104
<td align="center"><font color="f1f1f1">
105105
<i class="fa fa-keyboard-o fa-lg"></i></font></td>

0 commit comments

Comments
 (0)