From 3f12173944c252471e39131bb8cee88623930869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20=C3=98vrelid?= <46874830+framitdavid@users.noreply.github.com> Date: Tue, 19 Dec 2023 05:40:05 +0100 Subject: [PATCH] Fix duplicate ID when deleting repo (#28520) There is an accessibility issue in the interface when attempting to delete a repository. When I click on "Delete repository," a dialog box appears, requiring confirmation to proceed with the repository deletion. However, when I press the "Repo name" label, the wrong input field gains focus. The focused field is located behind the dialog and is intended for renaming the repository. --- templates/repo/migrate/migrating.tmpl | 4 ++-- templates/repo/settings/options.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/repo/migrate/migrating.tmpl b/templates/repo/migrate/migrating.tmpl index 649d14ad990d3..48411e2da233f 100644 --- a/templates/repo/migrate/migrating.tmpl +++ b/templates/repo/migrate/migrating.tmpl @@ -73,8 +73,8 @@
- - + +
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 85ff82fda77a5..5a32f5e7ae1a1 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -921,8 +921,8 @@
- - + +