Skip to content

Commit a701fd3

Browse files
Add labels to two buttons that were missing them (#20419)
1 parent 305372e commit a701fd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/base/head_navbar.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
</div>
115115
</div>
116116

117-
<a href="{{AppSubUrl}}/notifications" class="item tooltip not-mobile" data-content='{{.locale.Tr "notifications"}}'>
117+
<a href="{{AppSubUrl}}/notifications" class="item tooltip not-mobile" data-content="{{.locale.Tr "notifications"}}" aria-label="{{.locale.Tr "notifications"}}">
118118
<span class="text">
119119
<span class="fitted">{{svg "octicon-bell"}}</span>
120120
<span class="ui red label {{if not $notificationUnreadCount}}hidden{{end}} notification_count">

templates/repo/clone_buttons.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
document.getElementById('repo-clone-url').value = btn ? btn.getAttribute('data-link') : '';
2020
})();
2121
</script>
22-
<button class="ui basic icon button tooltip" id="clipboard-btn" data-content="{{.locale.Tr "copy_url"}}" data-clipboard-target="#repo-clone-url">
22+
<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"}}">
2323
{{svg "octicon-paste"}}
2424
</button>

0 commit comments

Comments
 (0)