Skip to content

Commit 8a7bfac

Browse files
committed
Remove aria-hidden link from tab index
More info: https://dequeuniversity.com/rules/axe/4.1/aria-hidden-focus
1 parent cd77ab1 commit 8a7bfac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<header class="container-xl px-3 px-md-6 pt-3 pb-2 position-relative d-flex flex-justify-between width-full {% if error == '404' %} d-md-none {% endif %}">
77

88
<div class="d-flex flex-items-center d-lg-none" style="z-index: 3;" id="github-logo-mobile">
9-
<a href="/{{ currentLanguage }}" aria-hidden="true">
9+
<a href="/{{ currentLanguage }}" aria-hidden="true" tabindex="-1">
1010
{% octicon "mark-github" height="32" class="text-black" %}
1111
</a>
1212
<a href="/{{ currentLanguage }}" class="h4-mktg text-gray-dark no-underline no-wrap pl-2">{% data ui.header.github_docs %}</a>

includes/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="sidebar d-none d-lg-block">
33

44
<div class="d-flex flex-items-center p-4 position-sticky top-0 sidebar-background-color" style="z-index: 3;" id="github-logo">
5-
<a href="/{{ currentLanguage }}" class="text-white" aria-hidden="true">
5+
<a href="/{{ currentLanguage }}" class="text-white" aria-hidden="true" tabindex="-1">
66
{% octicon "mark-github" height="32" %}
77
</a>
88
<a href="/{{ currentLanguage }}" class="h4-mktg text-white no-underline no-wrap pl-2 flex-auto">{% data ui.header.github_docs %}</a>

0 commit comments

Comments
 (0)