mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-08 02:15:12 -06:00
fix: expose entry description rows to screen readers
Every entry description row carried aria-hidden="true", hiding descriptions that sighted readers can see from screen readers. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -149,7 +149,7 @@
|
|||||||
<td class="col-arrow"><span class="arrow">→</span></td>
|
<td class="col-arrow"><span class="arrow">→</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% if entry.description %}
|
{% if entry.description %}
|
||||||
<tr class="desc-row" aria-hidden="true">
|
<tr class="desc-row">
|
||||||
<td class="col-num"></td>
|
<td class="col-num"></td>
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<div class="desc-text">{{ entry.description | safe }}</div>
|
<div class="desc-text">{{ entry.description | safe }}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user