Commit 2db7244d authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '348830-add-commit-description-tooltip' into 'master'

Add missing tooltip and aria-label for commit description toggle

See merge request gitlab-org/gitlab!78969
parents 6f4de97c 4644573d
......@@ -155,9 +155,11 @@ export default {
<gl-button
v-if="commit.description_html && collapsible"
v-gl-tooltip
class="js-toggle-button"
size="small"
icon="ellipsis_h"
:title="__('Toggle commit description')"
:aria-label="__('Toggle commit description')"
/>
......
......@@ -34,7 +34,7 @@
&middot;
= commit.short_id
- 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)
.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