From 8a3acf243a37460628ead9f134f4fb5e56fde5a1 Mon Sep 17 00:00:00 2001 From: fsologureng Date: Sat, 26 Nov 2022 20:19:44 -0300 Subject: [PATCH] Fixes accessibility behavior of Watching, Staring and Fork buttons Add tabindex to buttons of repository views. Contributed by @forgejo --- 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 4da91e424df9..6da0ccbab8b9 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -68,7 +68,7 @@ {{end}}
{{$.CsrfTokenHtml}} -
+
@@ -80,7 +80,7 @@ {{if not $.DisableStars}} {{$.CsrfTokenHtml}} -
+
@@ -100,7 +100,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">