mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-30 05:46:09 +01:00
9693f08812
Backport #28520 by @framitdavid
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.
I am submitting these pull requests to ensure that the correct input
field is focused when the user clicks on the label. This change will
also facilitate the writing of tests using Playwright or Testing Library
to retrieve elements based on roles. This PR will also improve
acessibility of this area.
Co-authored-by: David Øvrelid <46874830+framitdavid@users.noreply.github.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
codebase.tmpl | ||
forgejo.tmpl | ||
git.tmpl | ||
gitbucket.tmpl | ||
gitea.tmpl | ||
github.tmpl | ||
gitlab.tmpl | ||
gogs.tmpl | ||
helper.tmpl | ||
migrate.tmpl | ||
migrating.tmpl | ||
onedev.tmpl | ||
options.tmpl |