From d3a64b1759ee1d61d81d8d371f4a267f60f99ea7 Mon Sep 17 00:00:00 2001 From: Kushal Pandya Date: Thu, 17 Nov 2016 19:41:51 +0530 Subject: [PATCH] Add shortcut for SRs to `Skip to content` for a11y --- app/views/layouts/header/_default.html.haml | 1 + 1 file changed, 1 insertion(+) 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" }