1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/templates/repo/editor
wxiaoguang 4fdb09de58
Fix incorrect "tabindex" attributes (#26733)
Fix #26731

Almost all "tabindex" in code are incorrect.

1. All "input/button" by default are focusable, so no need to use "tabindex=0"
2. All "div/span" by default are not focusable, so no need to use "tabindex=-1"
3. All "dropdown" are focusable by framework, so no need to use "tabindex"
4. Some tabindex values are incorrect (eg: `new_form.tmpl`), so remove them

Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-26 10:44:00 +08:00
..
cherry_pick.tmpl Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
commit_form.tmpl Fix incorrect "tabindex" attributes (#26733) 2023-08-26 10:44:00 +08:00
delete.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
diff_preview.tmpl Fix broken code editor diff preview (#23307) 2023-03-06 09:37:58 +08:00
edit.tmpl Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
patch.tmpl Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
upload.tmpl Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00