From 68656353698ee89465dfb515bebfe7838567f159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Leopoldo=20Sologuren=20Guti=C3=A9rrez?= Date: Tue, 31 Jan 2023 12:28:43 -0300 Subject: [PATCH] Fixes accessibility behavior of Watching, Staring and Fork buttons (#22634) Add tabindex to buttons of repository views. --- templates/repo/header.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 831784a62..93a4b871b 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -66,7 +66,7 @@ {{end}}
{{$.CsrfTokenHtml}} -
+
@@ -78,7 +78,7 @@ {{if not $.DisableStars}} {{$.CsrfTokenHtml}} -
+
@@ -98,7 +98,7 @@ {{else if and (not $.CanSignedUserFork) (eq (len $.UserAndOrgForks) 0)}} data-content="{{$.locale.Tr "repo.fork_from_self"}}" {{end}} - data-position="top center" tabindex="0"> + data-position="top center">