]> source.dussan.org Git - gitea.git/commitdiff
Add labels to two buttons that were missing them (#20419)
authortechknowlogick <techknowlogick@gitea.io>
Tue, 26 Jul 2022 15:43:13 +0000 (11:43 -0400)
committerGitHub <noreply@github.com>
Tue, 26 Jul 2022 15:43:13 +0000 (17:43 +0200)
templates/base/head_navbar.tmpl
templates/repo/clone_buttons.tmpl

index b9e9ee7cf84fb9167fb9e3b22fb01dc757a775c8..8dc0083b76e36af75b27d45aa683125d08c93da1 100644 (file)
                                </div>
                        </div>
 
-                       <a href="{{AppSubUrl}}/notifications" class="item tooltip not-mobile" data-content='{{.locale.Tr "notifications"}}'>
+                       <a href="{{AppSubUrl}}/notifications" class="item tooltip not-mobile" data-content="{{.locale.Tr "notifications"}}" aria-label="{{.locale.Tr "notifications"}}">
                                <span class="text">
                                        <span class="fitted">{{svg "octicon-bell"}}</span>
                                        <span class="ui red label {{if not $notificationUnreadCount}}hidden{{end}} notification_count">
index 3d74e5dc288d06702acbaa5549e8f3ecac80e62b..fb54b27c820aa2ed441eb7f7593dc2d32c3e896e 100644 (file)
@@ -19,6 +19,6 @@
                document.getElementById('repo-clone-url').value = btn ? btn.getAttribute('data-link') : '';
        })();
 </script>
-<button class="ui basic icon button tooltip" id="clipboard-btn" data-content="{{.locale.Tr "copy_url"}}" data-clipboard-target="#repo-clone-url">
+<button class="ui basic icon button tooltip" id="clipboard-btn" data-content="{{.locale.Tr "copy_url"}}" data-clipboard-target="#repo-clone-url" aria-label="{{.locale.Tr "copy_url"}}">
        {{svg "octicon-paste"}}
 </button>