Fix incorrect "tabindex" attributes (#26733) (#26734)

Backport #26733 manually

Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
wxiaoguangandGiteabot authored and GitHub committed 2023-08-26 10:44:17 +08:00
1 parent 2f6c0e6596
commit 307ee2c044
11 files changed
+52 -52

No files matched your search

+2 -2
View File
@@ -11,7 +11,7 @@
</span>
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
</span>
<div class="context user overflow menu" tabindex="-1">
<div class="context user overflow menu">
<div class="ui header">
{{.locale.Tr "home.switch_dashboard_context"}}
</div>
@@ -55,7 +55,7 @@
{{end}}
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
</span>
<div class="context user overflow menu" tabindex="-1">
<div class="context user overflow menu">
<div class="ui header">
{{.locale.Tr "home.filter_by_team_repositories"}}
</div>