Skip to content

Commit 55cd24e

Browse files
committed
Make counter link aria-hidden=true to avoid screenreaders hitting it
1 parent 9dc61ea commit 55cd24e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

openlibrary/templates/lib/nav_head.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@
6060
</div>
6161
</a>
6262
$# detect-missing-i18n-skip-line
63-
<a href="$changequery(dict(show_page_status=1))" style="color:transparent;position:absolute;pointer-events:none;" tabindex="-1">Page Status</a>
63+
<a
64+
href="$changequery(dict(show_page_status=1))"
65+
style="color:transparent;position:absolute;pointer-events:none;"
66+
tabindex="-1"
67+
aria-hidden="true"
68+
>Page Status</a>
6469
</div>
6570

6671
$ browseProps = {

0 commit comments

Comments
 (0)