diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-02-28 19:28:58 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-02-28 19:28:58 +0000 |
commit | 85f493390a9e5ce7cce2c7936e1e91c8327e83d5 (patch) | |
tree | 8c64a1cef808be03f98402baf5d085b1508505aa /app/helpers/button_helper.rb | |
parent | 261f5a68edc37eca25b9f49f2d3d75261bd794a7 (diff) | |
download | gitlab-ce-85f493390a9e5ce7cce2c7936e1e91c8327e83d5.tar.gz |
Improve a11y in sidebar
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r-- | app/helpers/button_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb index 195094730aa..0b30471f2ae 100644 --- a/app/helpers/button_helper.rb +++ b/app/helpers/button_helper.rb @@ -19,7 +19,7 @@ module ButtonHelper title = data[:title] || 'Copy to clipboard' data = { toggle: 'tooltip', placement: 'bottom', container: 'body' }.merge(data) content_tag :button, - icon('clipboard'), + icon('clipboard', 'aria-hidden': 'true'), class: "btn #{css_class}", data: data, type: :button, |