summaryrefslogtreecommitdiff
path: root/app/views/projects/new.html.haml
diff options
context:
space:
mode:
authorKushal Pandya <kushalspandya@gmail.com>2017-06-06 15:05:13 +0000
committerPhil Hughes <me@iamphill.com>2017-06-06 15:05:13 +0000
commitd54faf2cdd5d642a50065e1756e6d64a20abb2d6 (patch)
tree66bb1b490c4906a1212efb30769a7d778c1726a8 /app/views/projects/new.html.haml
parent2f02843fe9fbcbef09ef8f122e9a84d809f2c29a (diff)
downloadgitlab-ce-d54faf2cdd5d642a50065e1756e6d64a20abb2d6.tar.gz
Fix missing tooltip and ARIA labels for accessibility
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index e180cb8bad1..7b8be58554a 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -95,7 +95,7 @@
.form-group.project-visibility-level-holder
= f.label :visibility_level, class: 'label-light' do
Visibility Level
- = link_to icon('question-circle'), help_page_path("public_access/public_access")
+ = link_to icon('question-circle'), help_page_path("public_access/public_access"), aria: { label: 'Documentation for Visibility Level' }
= render 'shared/visibility_level', f: f, visibility_level: visibility_level.to_i, can_change_visibility_level: true, form_model: @project, with_label: false
= f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4