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 <kushal@gitlab.com>2016-11-17 17:11:51 +0300
committerKushal Pandya <kushal@gitlab.com>2016-11-17 17:11:51 +0300
commitd3a64b1759ee1d61d81d8d371f4a267f60f99ea7 (patch)
tree761c2d52b548599cc203ecd673b5ff841a534122 /app/views/layouts/header
parentb94c216a6a7cefdee9d0a3d78c9974cd22d2dc56 (diff)
Add shortcut for SRs to `Skip to content` for a11y
Diffstat (limited to 'app/views/layouts/header')
-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" }