summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_new_admin_sidebar.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/nav/_new_admin_sidebar.html.haml')
-rw-r--r--app/views/layouts/nav/_new_admin_sidebar.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/layouts/nav/_new_admin_sidebar.html.haml b/app/views/layouts/nav/_new_admin_sidebar.html.haml
index 2b5523f6fad..e58bc66635a 100644
--- a/app/views/layouts/nav/_new_admin_sidebar.html.haml
+++ b/app/views/layouts/nav/_new_admin_sidebar.html.haml
@@ -4,8 +4,9 @@
.avatar-container.s40.settings-avatar
= icon('wrench')
.project-title Admin Area
- %button.close-nav-button
- = icon('times')
+ = button_tag class: 'close-nav-button', type: 'button' do
+ %span.sr-only Close sidebar
+ = icon ('times')
%ul.sidebar-top-level-items
= nav_link(controller: %w(dashboard admin projects users groups jobs runners cohorts), html_options: {class: 'home'}) do
= link_to admin_root_path, title: 'Overview', class: 'shortcuts-tree' do