From 7a28acf31f97bd09005f2f87b855535cfbd1b0e1 Mon Sep 17 00:00:00 2001 From: Gusted Date: Thu, 2 Nov 2023 13:53:22 +0100 Subject: [PATCH 1/2] Remove set tabindex on view issue - Remove the set tabindex and instead let the browser figure out the correct tab order. - Resolves https://codeberg.org/forgejo/forgejo/issues/1626 --- templates/repo/issue/view_content.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index c17919f5bfb42..9967997b92411 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -92,7 +92,7 @@
{{if and (or .HasIssuesOrPullsWritePermission .IsIssuePoster) (not .DisableStatusChange)}} {{if .Issue.IsClosed}} - {{else}} @@ -100,12 +100,12 @@ {{if .Issue.IsPull}} {{$closeTranslationKey = "repo.pulls.close"}} {{end}} - {{end}} {{end}} -
@@ -162,8 +162,8 @@
- - + +
From b5a35181cd4de2fdfb1826b9f8d639e4bdd745b4 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Fri, 3 Nov 2023 15:10:50 +0100 Subject: [PATCH 2/2] remove more tabindex --- templates/repo/diff/box.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index c037c3b365238..e00917746ead6 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -238,8 +238,8 @@ "DropzoneParentContainer" ".ui.form" )}}
- - + +