diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2017-03-23 09:40:36 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-03-23 09:40:36 +0300 |
commit | 735ab93304df1b3666f63d3804e8a97c0812cb03 (patch) | |
tree | d4955412728ba735d92d6d7fa587517b65587901 /app/views/projects/services | |
parent | bcbd03257aa52641ee165405b90efd6f53cf8f38 (diff) |
Add `aria-label` for feature status accessibility
Diffstat (limited to 'app/views/projects/services')
-rw-r--r-- | app/views/projects/services/_index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/services/_index.html.haml b/app/views/projects/services/_index.html.haml index 964133504e6..86d5a0ec7b8 100644 --- a/app/views/projects/services/_index.html.haml +++ b/app/views/projects/services/_index.html.haml @@ -18,7 +18,7 @@ %th Last edit - @services.sort_by(&:title).each do |service| %tr - %td + %td{ "aria-label" => "#{service.title}: status " + (service.activated? ? "on" : "off") } = boolean_to_icon service.activated? %td = link_to edit_namespace_project_service_path(@project.namespace, @project, service.to_param) do |