From 0db7a0a3d1537616f8955059d448637f5a583112 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. (cherry picked from commit 68656353698ee89465dfb515bebfe7838567f159) --- 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 831784a623..93a4b871bf 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">