Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushalspandya@gmail.com>2017-05-12 13:22:50 +0300
committerPhil Hughes <me@iamphill.com>2017-05-12 13:22:50 +0300
commit13207310b5bc7439aeaf549febb1f9c8a55f4778 (patch)
treebe657d626e7ee8974bfeb392cc27989d58d6e6d5 /app/helpers/button_helper.rb
parentf99e8c07fef7d0e902321ab10d14cba71a183652 (diff)
Fix accessibility issues for Input fields across GitLab
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r--app/helpers/button_helper.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb
index c85e96cf78d..206d0753f08 100644
--- a/app/helpers/button_helper.rb
+++ b/app/helpers/button_helper.rb
@@ -42,7 +42,10 @@ module ButtonHelper
class: "btn #{css_class}",
data: data,
type: :button,
- title: title
+ title: title,
+ aria: {
+ label: title
+ }
end
def http_clone_button(project, placement = 'right', append_link: true)