0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-02 09:45:19 +01:00
gitea/templates/repo/issue/view_content
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
..
add_reaction.tmpl
attachments.tmpl
comments_delete_time.tmpl
comments.tmpl
context_menu.tmpl
pull_merge_instruction.tmpl
pull.tmpl
reactions.tmpl
reference_issue_dialog.tmpl
show_role.tmpl
sidebar.tmpl
update_branch_by_merge.tmpl