Commit 71ad4765 authored by Jeremy Elder's avatar Jeremy Elder Committed by Mark Florian

Remove tabindex from navigation skip link

* Since it’s the first focusable item in the DOM it doesn’t need `tabindex`.
* The use of a positive `tabindex` isn’t recommended and can negatively impact focus management.
parent 4a89c574
......@@ -2,7 +2,7 @@
- user_status_data = user_status_properties(current_user)
%header.navbar.navbar-gitlab.navbar-expand-sm.js-navbar{ data: { qa_selector: 'navbar' } }
%a.sr-only.gl-accessibility{ href: "#content-body", tabindex: "1" } Skip to content
%a.gl-sr-only.gl-accessibility{ href: "#content-body" } Skip to content
.container-fluid
.header-content
.title-container
......
---
title: Remove tabindex on skip link that could negatively impact keyboard focus management
and order
merge_request: 55756
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment