diff options
author | techknowlogick <techknowlogick@gitea.io> | 2022-07-26 11:43:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 17:43:13 +0200 |
commit | a701fd35cf6efdecf8047cb1ee9eb683d95b1db5 (patch) | |
tree | 79c7a6d2b93ddbbb250cd166b29384ec2bb4983c /templates | |
parent | 305372efe397e3b0af4ae5a30f8bd2f30c68ffcf (diff) | |
download | gitea-a701fd35cf6efdecf8047cb1ee9eb683d95b1db5.tar.gz gitea-a701fd35cf6efdecf8047cb1ee9eb683d95b1db5.zip |
Add labels to two buttons that were missing them (#20419)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/head_navbar.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/clone_buttons.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index b9e9ee7cf8..8dc0083b76 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -114,7 +114,7 @@ </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"> diff --git a/templates/repo/clone_buttons.tmpl b/templates/repo/clone_buttons.tmpl index 3d74e5dc28..fb54b27c82 100644 --- a/templates/repo/clone_buttons.tmpl +++ b/templates/repo/clone_buttons.tmpl @@ -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> |