summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2016-11-17 19:41:51 +0530
committerKushal Pandya <kushal@gitlab.com>2016-11-17 19:41:51 +0530
commitd3a64b1759ee1d61d81d8d371f4a267f60f99ea7 (patch)
tree761c2d52b548599cc203ecd673b5ff841a534122 /app
parentb94c216a6a7cefdee9d0a3d78c9974cd22d2dc56 (diff)
downloadgitlab-ce-d3a64b1759ee1d61d81d8d371f4a267f60f99ea7.tar.gz
Add shortcut for SRs to `Skip to content` for a11y
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/header/_default.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml
index 7a9859262f7..5456be77aab 100644
--- a/app/views/layouts/header/_default.html.haml
+++ b/app/views/layouts/header/_default.html.haml
@@ -1,4 +1,5 @@
%header.navbar.navbar-fixed-top.navbar-gitlab{ class: nav_header_class }
+ %a{ href: "#content-body", tabindex: "1", class: "sr-only gl-accessibility" } Skip to content
%div{ class: "container-fluid" }
.header-content
%button.side-nav-toggle{ type: 'button', "aria-label" => "Toggle global navigation" }