Commit 4644573d authored by Nic O'Sullivan's avatar Nic O'Sullivan

Add missing tooltip and aria-label for commit description toggle

Changelog: fixed
parent 8f0ec8d2
...@@ -155,9 +155,11 @@ export default { ...@@ -155,9 +155,11 @@ export default {
<gl-button <gl-button
v-if="commit.description_html && collapsible" v-if="commit.description_html && collapsible"
v-gl-tooltip
class="js-toggle-button" class="js-toggle-button"
size="small" size="small"
icon="ellipsis_h" icon="ellipsis_h"
:title="__('Toggle commit description')"
:aria-label="__('Toggle commit description')" :aria-label="__('Toggle commit description')"
/> />
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
&middot; &middot;
= commit.short_id = commit.short_id
- if commit.description? && collapsible - if commit.description? && collapsible
%button.gl-button.btn.btn-default.button-ellipsis-horizontal.btn-sm.gl-ml-2.text-expander.js-toggle-button %button.gl-button.btn.btn-default.button-ellipsis-horizontal.btn-sm.gl-ml-2.text-expander.js-toggle-button{ data: { toggle: 'tooltip', container: 'body' }, :title => _("Toggle commit description"), aria: { label: _("Toggle commit description") } }
= sprite_icon('ellipsis_h', size: 12) = sprite_icon('ellipsis_h', size: 12)
.committer .committer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment