Skip to content

Commit

Permalink
Add scope to row headers
Browse files Browse the repository at this point in the history
By adding this we ensure screen readers can comprehend the table
correctly
  • Loading branch information
rich committed Sep 17, 2024
1 parent bd1ecb9 commit d303dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<tbody>
{% for repo in repos %}
<tr class="even:bg-white">
<td class="py-2 pl-2"><a target="_blank" class="text-blue-600 dark:text-blue-500 hover:underline" href="{{repo.htmlUrl}}">{{ repo.name }}</a></td>
<td class="py-2 pl-2" scope="row"><a target="_blank" class="text-blue-600 dark:text-blue-500 hover:underline" href="{{repo.htmlUrl}}">{{ repo.name }}</a></td>
<td class="py-2 pl-2">{{ repo.description }}</td>
<td class="py-2 pl-2">{{ repo.language }}</td>
<td class="py-2 pl-2">{{ repo.topics | join(", ")}}</td>
Expand Down

0 comments on commit d303dc2

Please sign in to comment.